/DiamondGuru

The DiamondGuru Programming Language.

Primary LanguagePythonApache License 2.0Apache-2.0

DiamondGuru (deprecate)

The DiamondGuru Programming Language. (Conceptual)

This was a personal project to understand how compilers work

  • DiamondGuru's compiler is written in python, which compiles DiamondGuru source code to C
  • Then use gcc to compile compiled C source to binary

How to run -

$ git clone https://github.com/DuskyElf/DiamondGuru.git
$ cd src
$ python3 DGuru.py compile <DiamondGuru_script_file_path>

Things that are currently done -

  • Expression parsing
  • Strict type checking at compile time
  • Support for dynamic variables at compile time
  • Pre - Compiled
  • Error free