Skip to content

abhaikollara/light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light (Monkey-lang)

An simple interpreter written in Python

Language description

Will add it soon

Example usage

Run python repl.py

>>> let x = 3
>>> let add_two = func(x){ return x + 2 } # This is how function declaration works
>>> add_two(x)
5

TODO

  • Figure out how to make closures work
  • Grouped expressions
  • Implement builtins
    • Implement print
  • Implement strings, floats as datatypes

Credits

Inspired from Monkey-lang

About

An simple interpreter written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages