YALR (Yet Another Lexer Refactor)

This commit is contained in:
Emile Clark-Boman 2025-06-19 08:48:31 +10:00
parent 72a6075123
commit 99db57dcfd
10 changed files with 208 additions and 217 deletions

View file

@ -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