Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Apr 14, 2022
1 parent daa19a4 commit 69a6966
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ python grammar/asdl_py.py
# Generate a Python AST from Python.asdl (C++)
python grammar/asdl_cpp.py grammar/Python.asdl src/lpython/python_ast.h
# Generate a Fortran ASR from ASR.asdl (C++)
python grammar/asdl_cpp.py grammar/ASR.asdl src/libasr/asr.h
python grammar/asdl_cpp.py src/libasr/ASR.asdl src/libasr/asr.h

# Generate the tokenizer and parser
(cd src/lpython/parser && re2c -W -b tokenizer.re -o tokenizer.cpp)
Expand Down
2 changes: 1 addition & 1 deletion build1_win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ python grammar/asdl_py.py
# Generate a Python AST from Python.asdl (C++)
python grammar/asdl_cpp.py grammar/Python.asdl src/lpython/python_ast.h
# Generate a Fortran ASR from ASR.asdl (C++)
python grammar/asdl_cpp.py grammar/ASR.asdl src/libasr/asr.h
python grammar/asdl_cpp.py src/libasr/ASR.asdl src/libasr/asr.h
2 changes: 1 addition & 1 deletion ci/build.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ llvm-config --components
bash ci/version.sh

# Generate a Fortran ASR from ASR.asdl (C++)
python grammar/asdl_cpp.py grammar/ASR.asdl src/libasr/asr.h
python grammar/asdl_cpp.py src/libasr/ASR.asdl src/libasr/asr.h
# Generate a Python AST from Python.asdl (C++)
python grammar/asdl_cpp.py grammar/Python.asdl src/lpython/python_ast.h
# Generate a Python AST from Python.asdl (Python)
Expand Down
2 changes: 1 addition & 1 deletion doc/nb/developer_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"metadata": {},
"source": [
"All ASR nodes and their arguments are described in\n",
"[ASR.asdl](https://gitlab.com/lfortran/lfortran/blob/master/grammar/ASR.asdl)."
"[ASR.asdl](https://gitlab.com/lfortran/lfortran/blob/master/src/libasr/ASR.asdl)."
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion doc/src/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The section is tested with `lfortran --show-ast examples/expr2.f90`

We first extend the ASR in *ASR.asdl* and add ^ as a BinOp operator option.

:fontawesome-solid-code:*grammar/ASR.asdl*
:fontawesome-solid-code:*src/libasr/ASR.asdl*
```
binop = Add | Sub | Mul | Div | Pow | Caret
```
Expand Down

0 comments on commit 69a6966

Please sign in to comment.