49 Commits (b51fe9f6068915f8fca2e879f5e6a97f09d7ee2f)

Autor SHA1 Nachricht Datum
  mtardy b51fe9f606
Add nice format for runtime errors (#12) vor 4 Jahren
  mtardy d9364885fe Add Throw mechanism and hierarchy in verbose mode vor 4 Jahren
  mtardy 33b5a12c3d Add millis primitive vor 4 Jahren
  mtardy 37a048a8e7 Fix map_zip to fill with either key numbers or null values vor 4 Jahren
  mtardy 7eb1f4934c Add '*' operator for string multiplication vor 4 Jahren
  mtardy d96105269b Remove unreachable protos in eval switch vor 4 Jahren
  mtardy fed14057ae Add '+' operator for string concatenation vor 4 Jahren
  mtardy 6187f6c657 Add GetIndex and SetIndex for strings vor 4 Jahren
  mtardy 80c0daceaa Treat single characters (delimited by single quotes) as integers vor 4 Jahren
  mtardy e26c5c565f Clean some remaining comments and debugging printf vor 4 Jahren
  mtardy 4f86f1cf3e
Add import statements (#10) vor 4 Jahren
  mtardy 1f0bf64d84 Read directly from a file and/or stdin and improve error (with line and filename) at parsing time vor 4 Jahren
  mtardy 38ca06d6aa Add the AST global object with all the protos attached to it for access vor 4 Jahren
  mtardy c749e817cc Rename all the protos with Titlecase vor 4 Jahren
  mtardy 78e17dbf35 Add syntax to extend the language via macro vor 4 Jahren
  mtardy 3e08cb9394 Merge binary operators into assignments vor 4 Jahren
  mtardy 07f07570db Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name vor 4 Jahren
  mtardy fafec91e1e Add name to Function struct to print them nicely vor 4 Jahren
  mtardy 8aa2318855 Add experimental literal ast inside programs vor 4 Jahren
  mtardy 0b35fd3794 Fix 'not' operator and add primitives keys and length vor 4 Jahren
  mtardy d568212a6c Fix parser 'blank' rule vor 4 Jahren
  mtardy 4286159da2
Many small changes to support object instanciation (#6) vor 4 Jahren
  mtardy a0fee5b587
Add increment and decrement operators (#5) vor 4 Jahren
  mtardy d132382ce0 Fix map creation in eval by cloning the ast node and evaluating all the values vor 4 Jahren
  mtardy 27581da0e0 Add method invocation from object property with 'this' binding to access object properties vor 4 Jahren
  mtardy b10ee10533 Factorize assign operations into a single rule vor 4 Jahren
  mtardy 566b88dec1 Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap vor 4 Jahren
  mtardy fe1a8156d2 Add assignment operators such as +=, -=, ... vor 4 Jahren
  mtardy 8e2badb3e9 Add return, break, continue statements with setjmp vor 4 Jahren
  mtardy dc31fd1dc4 Convert tabs to spaces and fix indentation issues vor 4 Jahren
  mtardy 6d20596796 Add for loop and switch statement vor 4 Jahren
  mtardy 614bb8225b Add return vor 4 Jahren
  mtardy e4435044d3 Optimizing integers vor 4 Jahren
  mtardy 79144dfebb Move statement rule and fix identation vor 4 Jahren
  mtardy ecdde3c52e Convert tabs to spaces and fix indentation issues vor 4 Jahren
  mtardy 42ad489c1e Add compound statements vor 4 Jahren
  mtardy 72c66c9995 Add unary, binary, ternary operator, while and semicolons as statement separator vor 4 Jahren
  mtardy 75c1e685cf Add closure and optimize map_search for arrays vor 4 Jahren
  mtardy f8078c49d5 Add draft of map_get for array-like access optimization vor 4 Jahren
  mtardy 34b33bf34b Add function parameters support with simplistic local scope vor 4 Jahren
  mtardy 85854f22cf Add simplistic function definition vor 4 Jahren
  mtardy 1a5cf63394 Add primitive function call vor 4 Jahren
  mtardy b80f2da496 Add map '[exp]' access and assignement vor 4 Jahren
  mtardy cd50470f38 Add map 'dot' access and assignement vor 4 Jahren
  mtardy f4ba755154 Flatten binary op and add var declaration vor 4 Jahren
  mtardy 10fb7089b4 Add read node vor 4 Jahren
  mtardy f1b05dc652 Add strings with a length attribute vor 4 Jahren
  mtardy d92527ec1b Build and eval the AST for most binary operators vor 4 Jahren
  mtardy b0f59db5cf Add Objects with prototypes vor 4 Jahren
  mtardy 8957b242ad Fix symbol table vor 4 Jahren