Python version of Lithp, because C++ is too hard.
This implements a syntax-compatible version of Lithp in Python.
The benefits of this are:
- Faster execution
- PyPy provides a massive speed improvement over CPython and Node.Js
- Larger number support
- Greater platform compatibility
- The large library of Python modules available
Version 0.7 introduces the recurse/* function.
Version 0.5 is now syntax compatible with node-lithp.
It implements the Bootstrap parser and a small subset of the builtin library. The builtin library is now the primary focus so that modules work.
print/*,def/2,get/1, basic arithmatic- Basic types
- User defined functions
- Debug output
- Test of user defined function
add - AST parser
- Bootstrap parser
if/2,if/3,else/1, comparison operators- Factorial sample
recurse/*
- Builtin library
- modules support
import/1,export/*,export-global/*- ability to import python modules