Skip to content

aakarshan-raj/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interpreter

To run tests: Build: cmake --build build -j8

Test: ctest --test-dir build --output-on-failure

Trace Segmentation faults: valgrind --leak-check=full --track-origins=yes ./monkey

Adding support for a new Type:

  1. Add its class in AST
  2. inherit from main parent classes
  3. implement virtual functions
  4. implement class specific functions
  5. write basic tests
  6. create parser function
  7. register the function
  8. write more tests
  9. enjoy a new feature in language

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published