Skip to content

Commit

Permalink
Merge pull request #261 from certik/lf_remove6
Browse files Browse the repository at this point in the history
Remove the Fortran AST
  • Loading branch information
certik committed Mar 19, 2022
2 parents 95feec1 + da5b61c commit 1ada48d
Show file tree
Hide file tree
Showing 23 changed files with 5 additions and 6,536 deletions.
2 changes: 0 additions & 2 deletions build0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ set -x
# Generate the `version` file
ci/version.sh

# Generate a Fortran AST from AST.asdl (C++)
python grammar/asdl_cpp.py
# Generate a Python AST from Python.asdl (Python)
python grammar/asdl_py.py
# Generate a Python AST from Python.asdl (C++)
Expand Down
6 changes: 5 additions & 1 deletion build1_win.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

bash ci/version.sh
python grammar/asdl_cpp.py
# Generate a Python AST from Python.asdl (Python)
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
2 changes: 0 additions & 2 deletions ci/build.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ llvm-config --components
# Generate the `version` file
bash ci/version.sh

# Generate a Fortran AST from AST.asdl (C++)
python grammar/asdl_cpp.py
# Generate a Fortran ASR from ASR.asdl (C++)
python grammar/asdl_cpp.py grammar/ASR.asdl src/libasr/asr.h
# Generate a Python AST from Python.asdl (C++)
Expand Down
Loading

0 comments on commit 1ada48d

Please sign in to comment.