You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text analysis with Python: lexical analysis, syntax analysis (parser + parsing tree). The simplest semantic analysis and the code-gen. Compiler outputs files in the build folder. Example program program.txt file compile to res_assembler.s is a file after processing by all system components and can start on the machine.
Запуск compiler.py производится с ключами --dump-tokens, --dump-ast, --dump-asm.
* Последнее сгеннерирует код на ассемблере и скомпилирует
программу, которая будет лежать в каталоге проекта на названием program.
Пример запуска скомпилированной программы:
$ ./program
About
The text analysis with Python: lexical analysis, syntax analysis (parser + parsing tree). The simplest semantic analysis and the code-gen. Compiler outputs files in the build folder. Example program program.txt file compile to res_assembler.s is a file after processing by all system components and can start on the machine.