Skip to content

DuskyElf/DiamondGuru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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