28 Commits (8a245b3f00f7dabb1b4134f7cf328b4b45259c2f)

Author SHA1 Message Date
  mtardy 4286159da2
Many small changes to support object instanciation (#6) 4 years ago
  mtardy a0fee5b587
Add increment and decrement operators (#5) 4 years ago
  mtardy d132382ce0 Fix map creation in eval by cloning the ast node and evaluating all the values 4 years ago
  mtardy 27581da0e0 Add method invocation from object property with 'this' binding to access object properties 4 years ago
  mtardy b10ee10533 Factorize assign operations into a single rule 4 years ago
  mtardy 566b88dec1 Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap 4 years ago
  mtardy fe1a8156d2 Add assignment operators such as +=, -=, ... 4 years ago
  mtardy 8e2badb3e9 Add return, break, continue statements with setjmp 4 years ago
  mtardy dc31fd1dc4 Convert tabs to spaces and fix indentation issues 4 years ago
  mtardy 6d20596796 Add for loop and switch statement 4 years ago
  mtardy 614bb8225b Add return 4 years ago
  mtardy e4435044d3 Optimizing integers 4 years ago
  mtardy 79144dfebb Move statement rule and fix identation 4 years ago
  mtardy ecdde3c52e Convert tabs to spaces and fix indentation issues 4 years ago
  mtardy 42ad489c1e Add compound statements 4 years ago
  mtardy 72c66c9995 Add unary, binary, ternary operator, while and semicolons as statement separator 4 years ago
  mtardy 75c1e685cf Add closure and optimize map_search for arrays 4 years ago
  mtardy f8078c49d5 Add draft of map_get for array-like access optimization 4 years ago
  mtardy 34b33bf34b Add function parameters support with simplistic local scope 4 years ago
  mtardy 85854f22cf Add simplistic function definition 4 years ago
  mtardy 1a5cf63394 Add primitive function call 4 years ago
  mtardy b80f2da496 Add map '[exp]' access and assignement 4 years ago
  mtardy cd50470f38 Add map 'dot' access and assignement 4 years ago
  mtardy f4ba755154 Flatten binary op and add var declaration 4 years ago
  mtardy 10fb7089b4 Add read node 4 years ago
  mtardy f1b05dc652 Add strings with a length attribute 4 years ago
  mtardy d92527ec1b Build and eval the AST for most binary operators 4 years ago
  mtardy b0f59db5cf Add Objects with prototypes 4 years ago
  mtardy 8957b242ad Fix symbol table 4 years ago
  mtardy 73fc6a9e08 Remove Symbol's value and defined and store them in Map KV 4 years ago
  mtardy 24949bad35 Add a scope parameter in intern function 4 years ago
  mtardy 93633e4d4c Remove table object, replace it with a 'globals' map 4 years ago
  mtardy d7d40f2b26 Indent fixes and remove comments 4 years ago
  mtardy 638db05828 Add Pr.Piumarta's code and reindent using spaces with width 4 4 years ago
  mtardy 895e834e15 Remove some others 'conversation' comments 4 years ago
  mtardy 3b8a5e75ad Change prim to exp in bracket map access even it might not make sense 4 years ago
  mtardy 2b1a210344 Add Map and String data structure 4 years ago
  mtardy abe0f07d32 Fix for object 4 years ago
  mtardy 95cb13a326 Add the (not working) null keyword 4 years ago
  mtardy 31b1fa6cdb Add the object structure 4 years ago
  mtardy 6d57c3ff0b Apply advice from draft2.c to calc.leg 4 years ago
  mtardy a3628b9937 Add draft ideas to calc.leg and clarify intern() 4 years ago
  mtardy 9c2a4e0c13 Add arbitrary var identifiers 4 years ago
  mtardy 76fd9ab57c Add single char variables 4 years ago
  mtardy 2bd3a8b892 Add newline before %% 4 years ago
  mtardy 736acd9595 Reverting indentation fix 4 years ago
  mtardy 8ca9002b95 Indentation fix 4 years ago
  mtardy 73eabebb95 Remove calc.leg for indentation fix 4 years ago
  mtardy 91adda1f21 Correct quick readme commentary 4 years ago
  mtardy dcd558a43a basic calculator 4 years ago