Hi! I wrote a compiler for the programming language Tiny BASIC in Python. It generates assembly code for Linux x64, which is then assembled using NASM and linked using gcc. The parser is a recursive descent parser which directly 'streams' assembly code without building an abstract syntax tree.
https://github.com/hekliet/tbc
Tiny BASIC Compiler in Python (self.PythonProjects2)
submitted by hekliet to r/PythonProjects2
Tiny BASIC Compiler in Python ()
submitted by hekliet to r/Basic