65 Révisions (4aadad65c948cc4a74f99d3fe4e7237a3ae431f2)

Auteur SHA1 Message Date
  mtardy 4aadad65c9 Remove fold and use eval instead il y a 4 ans
  mtardy cc069fcc92 Fix 'control may reach end of non-void function' warning il y a 4 ans
  mtardy 530e71426b Move TYPESIG and CASE macros and undef them il y a 4 ans
  mtardy d4af735207 Add TYPESIG and CASE macros to switch between types combinations more elegantly il y a 4 ans
  Ian Piumarta 993297c262 Add -g flag to turn on stats; make jb recs be allocated LIFO on C stack; reuse scopes whenever possible il y a 4 ans
  Ian Piumarta 3886b9c623 Print the amount of memory allocated using k/M/G bytes il y a 4 ans
  Ian Piumarta 6a297558bc Add String() factory; instrument memory usage il y a 4 ans
  mtardy f42be7d411 Fix relations to compare more than just integers, fix semicolons to end il y a 4 ans
  mtardy 1ed52120bb Add slice '[n:m]' for strings and array-like maps il y a 4 ans
  mtardy 2837e6fede Fix runtime error backtrace printing for function call il y a 4 ans
  mtardy 07d1456630 Conflict resolution il y a 4 ans
  mtardy 22bf3b5b1b
Add backtrace (#14) il y a 4 ans
  mtardy 2c057a58f9 Fix circular printing, comparison and pass scope to primitives il y a 4 ans
  mtardy 7ca8267244 Add printOn function and fix readEvalPrint with imports il y a 4 ans
  mtardy 1a82135eab Fix try catch mechanism and runtimeError with mrAST il y a 4 ans
  mtardy b424810127
Add try catch mechanism (#13) il y a 4 ans
  mtardy b51fe9f606
Add nice format for runtime errors (#12) il y a 4 ans
  mtardy d9364885fe Add Throw mechanism and hierarchy in verbose mode il y a 4 ans
  mtardy 33b5a12c3d Add millis primitive il y a 4 ans
  mtardy 37a048a8e7 Fix map_zip to fill with either key numbers or null values il y a 4 ans
  mtardy 7eb1f4934c Add '*' operator for string multiplication il y a 4 ans
  mtardy d96105269b Remove unreachable protos in eval switch il y a 4 ans
  mtardy fed14057ae Add '+' operator for string concatenation il y a 4 ans
  mtardy 6187f6c657 Add GetIndex and SetIndex for strings il y a 4 ans
  mtardy 80c0daceaa Treat single characters (delimited by single quotes) as integers il y a 4 ans
  mtardy e26c5c565f Clean some remaining comments and debugging printf il y a 4 ans
  mtardy 4f86f1cf3e
Add import statements (#10) il y a 4 ans
  mtardy 1f0bf64d84 Read directly from a file and/or stdin and improve error (with line and filename) at parsing time il y a 4 ans
  mtardy 38ca06d6aa Add the AST global object with all the protos attached to it for access il y a 4 ans
  mtardy c749e817cc Rename all the protos with Titlecase il y a 4 ans
  mtardy 78e17dbf35 Add syntax to extend the language via macro il y a 4 ans
  mtardy 3e08cb9394 Merge binary operators into assignments il y a 4 ans
  mtardy 07f07570db Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name il y a 4 ans
  mtardy fafec91e1e Add name to Function struct to print them nicely il y a 4 ans
  mtardy 8aa2318855 Add experimental literal ast inside programs il y a 4 ans
  mtardy 0b35fd3794 Fix 'not' operator and add primitives keys and length il y a 4 ans
  mtardy d568212a6c Fix parser 'blank' rule il y a 4 ans
  mtardy 4286159da2
Many small changes to support object instanciation (#6) il y a 4 ans
  mtardy a0fee5b587
Add increment and decrement operators (#5) il y a 4 ans
  mtardy d132382ce0 Fix map creation in eval by cloning the ast node and evaluating all the values il y a 4 ans
  mtardy 27581da0e0 Add method invocation from object property with 'this' binding to access object properties il y a 4 ans
  mtardy b10ee10533 Factorize assign operations into a single rule il y a 4 ans
  mtardy 566b88dec1 Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap il y a 4 ans
  mtardy fe1a8156d2 Add assignment operators such as +=, -=, ... il y a 4 ans
  mtardy 8e2badb3e9 Add return, break, continue statements with setjmp il y a 4 ans
  mtardy dc31fd1dc4 Convert tabs to spaces and fix indentation issues il y a 4 ans
  mtardy 6d20596796 Add for loop and switch statement il y a 4 ans
  mtardy 614bb8225b Add return il y a 4 ans
  mtardy e4435044d3 Optimizing integers il y a 4 ans
  mtardy 79144dfebb Move statement rule and fix identation il y a 4 ans