Arcane is a Flex-based lexer and Bison parser foundation aligned to the Final 64 keyword set defined in wizard_keyword.md.
- ✅ Lexer keywords/operators converted to Wizard64
- ✅ Sample
.wizinputs converted - ✅ Parser grammar (
parser/wizard.y) is buildable and runnable for syntax validation
lexer/wizard.l— Wizard64 lexer rulesparser/wizard.y— Wizard64 parser grammarinput/sample.wiz— main sample using Wizard64 syntaxinput/another-sample.wiz— minimal samplewizard_keyword.md— source-of-truth keyword list
make lexer
make parsermake runOr write token output to file:
make testRun parser on sample:
make test-parser<TOKEN_TYPE, "lexeme", line:X>
- Comments use
##(single-line) and#* ... *#(multi-line, nested). - Relational tokens (
==,!=,>,<,>=,<=) are supported for conditions.