npm.io
0.0.0 • Published 12 years ago

steptoe

Licence
ISC
Version
0.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

steptoe

TODO

  • Refactor to heavyweight (i.e. observable) AST
  • Function definitions
  • Function calls
  • Return
  • unary operators
  • arrays
  • dictionaries
  • while loop
  • break
  • foreach / for loop
  • if/else statement
  • logical operators
  • native functions
  • Closures, maybe
  • Parser

Notes

Just thinking about this, the compiler is going to need to plant code that causes the interpreter to yield to the executor. It's either that or a yield after every step, which will be even slower than it is already.

Keywords