Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 864 Bytes

Roadmap.md

File metadata and controls

40 lines (34 loc) · 864 Bytes

to add

  • typeOf
  • pop
  • reverse
  • join
  • split
  • replace
  • toLower
  • toUpper
  • trim
  • trimLeft
  • trimRight
  • contains and if is a string compare the runes
  • merge
  • findIndex
  • lastIndex
  • set and remove for hashmap
  • for loop
  • while loop

maybe

  • read code from file and execute?
  • http client?
  • file system access?

Note for me

do a traditional for loop, the "parameters" should be a let statement, a condition and some expression then the block, at compile time use the jump opcodes that exist

this should be something like this

    1. create a new symbol table
    1. execute the let statement
    1. save this point to jump later on
    1. check the condition and use OpJumpNotTruthy
    1. execute the code in the block
    1. execute the expression
    1. jump to point 3