Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • |\
  • | *
  • | *
  • | |\
  • | |/
  • |/|
  • * |
  • |\ \
  • * | |
  • | * |
  • | | *
  • | |/
  • * |
  • |\ \
  • | |/
  • |/|
  • | *
  • |/
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • | *
  • |/
  • *
  • *
  • |\
  • | *
  • | *
  • | *
  • | *
  • | *
  • | *
  • |/
  • *
  • *
  • |\
  • * \
  • |\ \
  • | | *
  • | |/
  • | *
  • |/
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • |\
  • | *
  • | *
  • | *
  • |/
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • 49dda1f (HEAD -> master) realistic prep for standalone mode; import should work again by Ian Piumarta 2022-09-30 14:57:38 +0900
  • 21b1e91 changes for fake standalone mode; import probably broken by Ian Piumarta 2022-09-29 18:06:02 +0900
  • 148ee3f add getFloat() by Ian Piumarta 2022-09-29 18:05:14 +0900
  • a1bc3ba Add default error case in switch(getType()) to remove warnings of enumeration values not handled in switch by mtardy 2020-10-01 11:27:25 +0200
  • f6388c1 Fix indentation issues by mtardy 2020-10-01 11:17:20 +0200
  • 6e9df12 Add floats (#22) by mtardy 2020-10-01 10:47:47 +0200
  • d45e954 Merge pull request #24 from mtardy/unquote-splicing by mtardy 2020-09-08 10:44:24 +0200
  • 06d0204 Add test-syntax.txt by mtardy 2020-09-08 10:43:34 +0200
  • 772ebd2 Merge with master by mtardy 2020-09-08 10:38:03 +0200
  • 9657e27 Merge pull request #25 from mtardy/argument-splicing by mtardy 2020-09-08 10:28:39 +0200
  • cbc3e6e Add factories (#21) by mtardy 2020-09-08 10:23:36 +0200
  • bc62314 add argument splicing (aka unpacking, aka splatting); add test-splice.txt to test argument splicing by Ian Piumarta 2020-09-08 16:15:48 +0900
  • f070bc8 add allKeys, allValues; add @@ syntax to unquote and splice an array into a list of arguments or parameters by Ian Piumarta 2020-09-08 15:42:21 +0900
  • d4ed747 Merge pull request #23 from mtardy/slice-fix by mtardy 2020-09-07 10:31:22 +0200
  • 9541a96 Correctly add slice '[n:m]' for strings and array-like maps by mtardy 2020-09-07 10:30:15 +0200
  • 5e7538a Use safe comparisons in oopcmp by Ian Piumarta 2020-09-02 19:15:42 +0900
  • 0156ca0 Allocate true object sizes instead of sizeof(union object) by Ian Piumarta 2020-09-02 19:06:59 +0900
  • 21bc3f5 runtimeError accepts varargs; undefined members return null, undefined variables cause error by Ian Piumarta 2020-09-02 19:02:50 +0900
  • 90cd66d Add test-switch.txt by mtardy 2020-09-02 11:32:06 +0200
  • 4aadad6 Remove fold and use eval instead by mtardy 2020-09-02 11:31:53 +0200
  • cc069fc Fix 'control may reach end of non-void function' warning by mtardy 2020-09-02 11:25:33 +0200
  • 084c45a Merge pull request #19 from mtardy/portable-makefile by mtardy 2020-09-02 11:20:36 +0200
  • 987d889 Use implicit rules to build binary; add compiler/linker search locations for Darwin MacPorts by Ian Piumarta 2020-09-02 18:16:25 +0900
  • 11dd455 Merge pull request #18 from mtardy/type-switch by piumarta 2020-09-02 18:08:17 +0900
  • 530e714 Move TYPESIG and CASE macros and undef them by mtardy 2020-09-02 11:06:13 +0200
  • d4af735 Add TYPESIG and CASE macros to switch between types combinations more elegantly by mtardy 2020-09-02 09:04:22 +0200
  • 5b5a8c7 Add MIT License by mtardy 2020-09-01 21:20:14 +0200
  • 44e563d Merge pull request #17 from mtardy/memory-optimisation by mtardy 2020-09-01 13:10:41 +0200
  • 993297c Add -g flag to turn on stats; make jb recs be allocated LIFO on C stack; reuse scopes whenever possible by Ian Piumarta 2020-09-01 19:45:14 +0900
  • 1cee17e Add flags to Map with MAP_ENCLOSED bit; add pool pointer to Map for scope free list by Ian Piumarta 2020-09-01 19:43:52 +0900
  • b449343 Add millis() to convert microseconds() into milliseconds (duh;-) by Ian Piumarta 2020-09-01 19:42:02 +0900
  • 3886b9c Print the amount of memory allocated using k/M/G bytes by Ian Piumarta 2020-09-01 18:11:15 +0900
  • ce8ac59 Grow maps exponentially instead of linearly by Ian Piumarta 2020-09-01 18:10:27 +0900
  • 6a29755 Add String() factory; instrument memory usage by Ian Piumarta 2020-09-01 17:54:42 +0900
  • fb35013 Add the usual two micro-bencharks (nfibs and prime sieve) by Ian Piumarta 2020-09-01 17:33:57 +0900
  • cfb4f16 Merge pull request #16 from mtardy/fixes3 by mtardy 2020-08-28 10:17:04 +0200
  • 73dcfca Merge pull request #15 from mtardy/slice by mtardy 2020-08-28 10:16:39 +0200
  • f42be7d Fix relations to compare more than just integers, fix semicolons to end an expression, add for in structure, refactor apply (merge with invoke), transform millis to microseconds, mix boxed/unboxed integers by mtardy 2020-08-28 10:12:02 +0200
  • 1ed5212 Add slice '[n:m]' for strings and array-like maps by mtardy 2020-08-28 10:06:53 +0200
  • 2837e6f Fix runtime error backtrace printing for function call by mtardy 2020-08-26 17:45:18 +0200
  • 07d1456 Conflict resolution by mtardy 2020-08-26 11:47:29 +0200
  • 22bf3b5 Add backtrace (#14) by mtardy 2020-08-26 11:45:51 +0200
  • 2c057a5 Fix circular printing, comparison and pass scope to primitives by mtardy 2020-08-26 11:33:03 +0200
  • 7ca8267 Add printOn function and fix readEvalPrint with imports by mtardy 2020-08-25 13:21:31 +0200
  • 1a82135 Fix try catch mechanism and runtimeError with mrAST by mtardy 2020-08-25 11:27:42 +0200
  • b424810 Add try catch mechanism (#13) by mtardy 2020-08-25 00:44:53 +0200
  • b51fe9f Add nice format for runtime errors (#12) by mtardy 2020-08-24 19:50:11 +0200
  • bf22403 Update test files by mtardy 2020-08-24 19:44:03 +0200
  • d936488 Add Throw mechanism and hierarchy in verbose mode by mtardy 2020-08-24 19:43:55 +0200
  • 7f2deca Update test files by mtardy 2020-08-24 11:09:15 +0200
  • 33b5a12 Add millis primitive by mtardy 2020-08-24 11:06:40 +0200
  • 37a048a Fix map_zip to fill with either key numbers or null values by mtardy 2020-08-24 11:04:06 +0200
  • 0332947 Update README and Dockerfile by mtardy 2020-08-19 22:01:17 +0200
  • 7eb1f49 Add '*' operator for string multiplication by mtardy 2020-08-19 10:47:11 +0200
  • d961052 Remove unreachable protos in eval switch by mtardy 2020-08-19 10:24:09 +0200
  • 4e94a2d Fix string_concat by mtardy 2020-08-19 10:09:53 +0200
  • fed1405 Add '+' operator for string concatenation by mtardy 2020-08-19 09:48:10 +0200
  • 6187f6c Add GetIndex and SetIndex for strings by mtardy 2020-08-18 23:59:16 +0200
  • 80c0dac Treat single characters (delimited by single quotes) as integers by mtardy 2020-08-18 15:48:19 +0200
  • e26c5c5 Clean some remaining comments and debugging printf by mtardy 2020-08-18 12:32:16 +0200
  • 4f86f1c Add import statements (#10) by mtardy 2020-08-18 12:27:59 +0200
  • 1f0bf64 Read directly from a file and/or stdin and improve error (with line and filename) at parsing time by mtardy 2020-08-17 22:17:40 +0200
  • 38ca06d Add the AST global object with all the protos attached to it for access by mtardy 2020-08-17 09:03:50 +0200
  • c749e81 Rename all the protos with Titlecase by mtardy 2020-08-17 08:44:25 +0200
  • 78e17db Add syntax to extend the language via macro by mtardy 2020-08-15 11:28:01 +0200
  • 3e08cb9 Merge binary operators into assignments by mtardy 2020-08-14 10:39:30 +0200
  • 5598b13 Update tests by mtardy 2020-08-13 12:30:38 +0200
  • 07f0757 Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name by mtardy 2020-08-13 12:30:24 +0200
  • fafec91 Add name to Function struct to print them nicely by mtardy 2020-08-13 00:10:09 +0200
  • 8aa2318 Add experimental literal ast inside programs by mtardy 2020-08-12 23:51:33 +0200
  • ee6f0d3 Merge pull request #7 from mtardy/fixes2 by mtardy 2020-08-12 22:33:12 +0200
  • 6905791 Add tests and update todo by mtardy 2020-08-12 22:31:48 +0200
  • 0b35fd3 Fix 'not' operator and add primitives keys and length by mtardy 2020-08-12 22:30:25 +0200
  • 3ee4fed Fix isHidden and add map_allkeys by mtardy 2020-08-12 22:29:45 +0200
  • d568212 Fix parser 'blank' rule by mtardy 2020-08-12 10:44:26 +0200
  • 8a245b3 Add tests for incdec and object instanciation by mtardy 2020-08-12 10:41:04 +0200
  • 4286159 Many small changes to support object instanciation (#6) by mtardy 2020-08-12 10:38:58 +0200
  • a0fee5b Add increment and decrement operators (#5) by mtardy 2020-08-12 10:19:43 +0200
  • 17a457e Fix map_print for empty map by mtardy 2020-08-12 09:48:00 +0200
  • d132382 Fix map creation in eval by cloning the ast node and evaluating all the values by mtardy 2020-08-11 16:48:41 +0200
  • 192ad4d Add map_keys and map_values methods that skip hidden symbols inside maps by mtardy 2020-08-11 16:38:13 +0200
  • 27581da Add method invocation from object property with 'this' binding to access object properties by mtardy 2020-08-11 15:05:45 +0200
  • b10ee10 Factorize assign operations into a single rule by mtardy 2020-08-11 14:14:04 +0200
  • 2128d6a Print error in case of non-integer in arithmetic operation by mtardy 2020-08-11 14:13:27 +0200
  • 566b88d Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap by mtardy 2020-08-11 09:57:32 +0200
  • fe1a815 Add assignment operators such as +=, -=, ... by mtardy 2020-08-11 09:51:48 +0200
  • 319f05f Modify drafts and tests by mtardy 2020-08-09 15:10:07 +0200
  • 8e2badb Add return, break, continue statements with setjmp by mtardy 2020-08-09 15:09:23 +0200
  • dc31fd1 Convert tabs to spaces and fix indentation issues by mtardy 2020-08-06 14:06:45 +0200
  • 309bcb1 Add drafts and tests by mtardy 2020-08-06 14:02:13 +0200
  • 6d20596 Add for loop and switch statement by mtardy 2020-08-06 14:02:01 +0200
  • 614bb82 Add return by mtardy 2020-08-06 08:52:15 +0200
  • 25afb2c Bug fix integer tag optimization by mtardy 2020-08-05 14:37:56 +0000
  • e443504 Optimizing integers by mtardy 2020-08-05 15:21:59 +0200
  • 79144df Move statement rule and fix identation by mtardy 2020-08-05 14:38:14 +0200
  • e6a24ac Clean Makefile by mtardy 2020-08-05 14:37:38 +0200
  • ecdde3c Convert tabs to spaces and fix indentation issues by mtardy 2020-08-05 13:46:37 +0200
  • 42ad489 Add compound statements by mtardy 2020-08-05 13:32:22 +0200
  • 72c66c9 Add unary, binary, ternary operator, while and semicolons as statement separator by mtardy 2020-08-05 12:49:19 +0200
  • 75c1e68 Add closure and optimize map_search for arrays by mtardy 2020-08-04 10:54:48 +0200