77 Ревизии (master)

Автор SHA1 Съобщение Дата
  Ian Piumarta 49dda1f2c4 realistic prep for standalone mode; import should work again преди 2 години
  Ian Piumarta 21b1e91ee4 changes for fake standalone mode; import probably broken преди 2 години
  mtardy a1bc3ba26b Add default error case in switch(getType()) to remove warnings of enumeration values not handled in switch преди 4 години
  mtardy f6388c1474 Fix indentation issues преди 4 години
  mtardy 6e9df129dd
Add floats (#22) преди 4 години
  mtardy cbc3e6ec89
Add factories (#21) преди 4 години
  Ian Piumarta bc623143ca add argument splicing (aka unpacking, aka splatting); add test-splice.txt to test argument splicing преди 4 години
  Ian Piumarta f070bc84c4 add allKeys, allValues; add @@ syntax to unquote and splice an array into a list of arguments or parameters преди 4 години
  mtardy 9541a96279 Correctly add slice '[n:m]' for strings and array-like maps преди 4 години
  Ian Piumarta 21bc3f547d runtimeError accepts varargs; undefined members return null, undefined variables cause error преди 4 години
  mtardy 4aadad65c9 Remove fold and use eval instead преди 4 години
  mtardy cc069fcc92 Fix 'control may reach end of non-void function' warning преди 4 години
  mtardy 530e71426b Move TYPESIG and CASE macros and undef them преди 4 години
  mtardy d4af735207 Add TYPESIG and CASE macros to switch between types combinations more elegantly преди 4 години
  Ian Piumarta 993297c262 Add -g flag to turn on stats; make jb recs be allocated LIFO on C stack; reuse scopes whenever possible преди 4 години
  Ian Piumarta 3886b9c623 Print the amount of memory allocated using k/M/G bytes преди 4 години
  Ian Piumarta 6a297558bc Add String() factory; instrument memory usage преди 4 години
  mtardy f42be7d411 Fix relations to compare more than just integers, fix semicolons to end преди 4 години
  mtardy 1ed52120bb Add slice '[n:m]' for strings and array-like maps преди 4 години
  mtardy 2837e6fede Fix runtime error backtrace printing for function call преди 4 години
  mtardy 07d1456630 Conflict resolution преди 4 години
  mtardy 22bf3b5b1b
Add backtrace (#14) преди 4 години
  mtardy 2c057a58f9 Fix circular printing, comparison and pass scope to primitives преди 4 години
  mtardy 7ca8267244 Add printOn function and fix readEvalPrint with imports преди 4 години
  mtardy 1a82135eab Fix try catch mechanism and runtimeError with mrAST преди 4 години
  mtardy b424810127
Add try catch mechanism (#13) преди 4 години
  mtardy b51fe9f606
Add nice format for runtime errors (#12) преди 4 години
  mtardy d9364885fe Add Throw mechanism and hierarchy in verbose mode преди 4 години
  mtardy 33b5a12c3d Add millis primitive преди 4 години
  mtardy 37a048a8e7 Fix map_zip to fill with either key numbers or null values преди 4 години
  mtardy 7eb1f4934c Add '*' operator for string multiplication преди 4 години
  mtardy d96105269b Remove unreachable protos in eval switch преди 4 години
  mtardy fed14057ae Add '+' operator for string concatenation преди 4 години
  mtardy 6187f6c657 Add GetIndex and SetIndex for strings преди 4 години
  mtardy 80c0daceaa Treat single characters (delimited by single quotes) as integers преди 4 години
  mtardy e26c5c565f Clean some remaining comments and debugging printf преди 4 години
  mtardy 4f86f1cf3e
Add import statements (#10) преди 4 години
  mtardy 1f0bf64d84 Read directly from a file and/or stdin and improve error (with line and filename) at parsing time преди 4 години
  mtardy 38ca06d6aa Add the AST global object with all the protos attached to it for access преди 4 години
  mtardy c749e817cc Rename all the protos with Titlecase преди 4 години
  mtardy 78e17dbf35 Add syntax to extend the language via macro преди 4 години
  mtardy 3e08cb9394 Merge binary operators into assignments преди 4 години
  mtardy 07f07570db Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name преди 4 години
  mtardy fafec91e1e Add name to Function struct to print them nicely преди 4 години
  mtardy 8aa2318855 Add experimental literal ast inside programs преди 4 години
  mtardy 0b35fd3794 Fix 'not' operator and add primitives keys and length преди 4 години
  mtardy d568212a6c Fix parser 'blank' rule преди 4 години
  mtardy 4286159da2
Many small changes to support object instanciation (#6) преди 4 години
  mtardy a0fee5b587
Add increment and decrement operators (#5) преди 4 години
  mtardy d132382ce0 Fix map creation in eval by cloning the ast node and evaluating all the values преди 4 години