Skip to content

Commit

Permalink
Remove build step from script
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAakesson committed Nov 21, 2017
1 parent 6ec2dcf commit cf0bbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
1. Install antlr4 exactly like described under Quick start: http://www.antlr.org/
2. `pip install antlr4-python2-runtime`
3. `pip install pystache`
4. Generate python parser / lexer for `NaCl.g4` grammar WITH visitor (NaClVisitor.py): `antlr4 -Dlanguage=Python2 NaCl.g4 -visitor`
4. Generate python parser / lexer for `NaCl.g4` grammar WITH visitor (NaClVisitor.py): `antlr4 -Dlanguage=Python2 NaCl.g4 -visitor -o bin`
5. Make transpiler program executable: `chmod u+x NaCl.py`
6. run with `cat examples/nacl.nacl | ./NaCl.py`
7. For testing, using the `grun` program (alias really) is nice. This requires that you generate the java lexer / parser
Expand Down
2 changes: 1 addition & 1 deletion create_bundle.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
antlr4 -Dlanguage=Python2 NaCl.g4 -visitor -o bin
#!/bin/bash

TARFILE="nacl_bin.tar.gz"
tar -zcvf $TARFILE bin
Expand Down

0 comments on commit cf0bbe8

Please sign in to comment.