Skip to content

Commit

Permalink
Add tokenizer command to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirumalai-Shaktivel committed Apr 1, 2022
1 parent 891c34f commit d2574a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/build.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ python grammar/asdl_cpp.py grammar/Python.asdl src/lpython/python_ast.h
# Generate a Python AST from Python.asdl (Python)
python grammar/asdl_py.py

# Generate the tokenizer
pushd src/lpython/parser && re2c -W -b tokenizer.re -o tokenizer.cpp && popd

$lpython_version=$(cat version).strip()
$dest="lpython-" + $lpython_version
bash ci/create_source_tarball0.sh
Expand Down

0 comments on commit d2574a5

Please sign in to comment.