YALR (Yet Another Lexer Refactor)
This commit is contained in:
parent
72a6075123
commit
99db57dcfd
10 changed files with 208 additions and 217 deletions
|
|
@ -1,3 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: ddemo DEMOFILE"
|
||||
echo "Demo files are located in lang/demo"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
nim c nlx.nim
|
||||
./nlx ../lang/demo/$1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue