Development language: C#
Developer: FEFU student Б9120-09.03.03пикд Ponomarenko Maxim
dotnet run -- <mode> <option>
Mode
Flag | Description |
---|---|
-l, --lexer | Run lexical analysis |
-p, --parser | Run syntax parser |
-s, --semantics | Run parser with semantics cheker |
-g, --generator <generator mode< | Run code generator |
Generator mode
Flag | Description |
---|---|
-gen, --generate | Generate NASM code and stop |
-comp, --compile | Generate NASM code and compile it |
-exec, --execute | Generate NASM code, compile and run it |
Option
Flag | Arguments | Description |
---|---|---|
-t, --test | none | Run alanyzer autotests |
-f, --file | <file path> | Run alanyzer with file |
dotnet run -- -l --test
dotnet run -- -l --file .\tests\lexer\01_EOF.in
- NASM compiler for code compilation (nasm -> obj)
- GCC compiler for code compilation (obj -> exe)