Release Odo v0.3-beta
Pre-release
Pre-release
v0.3-beta
This version is full of performance boosts and code improvement.
Optimizations:
- The parser and interpreter modules now have polymorphism, which makes better use of memory at runtime.
- Compilation time got longer because the project now has a lot more files to compile.
- The use of polymorphism on the Value system makes everything run many orders of magnitude faster.
- Values now store their references as pointers instead of copies of the symbol (no need for uuid generation now).
- The action of copying Values and converting them to strings was
Bug fixes:
- CMakeLists had an incorrect command that made the release compiles flag the same as the debug ones.
- Lists declarations made the assumption that the initial value had to be a
ListVal
, which broke when trying to read the nonexistent list value. - When the
forange
loop had both bounds and going in reverse, the lower bound was ignored.
New Features:
- Added functions
toAsciiCode
andfromAsciiCode
. They transform from int to ascii and back. - Added
sleep
function, which adds a timed delay to your code. - Repl's
about
function now tells which compile mode was use to build the program.
New demos
- BF interpreter