mtardy
|
f42be7d411
|
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
|
4 yıl önce |
mtardy
|
1ed52120bb
|
Add slice '[n:m]' for strings and array-like maps
|
4 yıl önce |
mtardy
|
2837e6fede
|
Fix runtime error backtrace printing for function call
|
4 yıl önce |
mtardy
|
07d1456630
|
Conflict resolution
|
4 yıl önce |
mtardy
|
22bf3b5b1b
|
Add backtrace (#14)
|
4 yıl önce |
mtardy
|
2c057a58f9
|
Fix circular printing, comparison and pass scope to primitives
|
4 yıl önce |
mtardy
|
7ca8267244
|
Add printOn function and fix readEvalPrint with imports
|
4 yıl önce |
mtardy
|
1a82135eab
|
Fix try catch mechanism and runtimeError with mrAST
|
4 yıl önce |
mtardy
|
b424810127
|
Add try catch mechanism (#13)
* Add try, catch, finally in the syntax
* Add throw, try, catch, finally mechanism in the interpreter
|
4 yıl önce |
mtardy
|
b51fe9f606
|
Add nice format for runtime errors (#12)
* Enhance runtime errors with file and line
* update test files
|
4 yıl önce |
mtardy
|
bf224030cb
|
Update test files
|
4 yıl önce |
mtardy
|
d9364885fe
|
Add Throw mechanism and hierarchy in verbose mode
|
4 yıl önce |
mtardy
|
7f2decac9a
|
Update test files
|
4 yıl önce |
mtardy
|
33b5a12c3d
|
Add millis primitive
|
4 yıl önce |
mtardy
|
37a048a8e7
|
Fix map_zip to fill with either key numbers or null values
|
4 yıl önce |
mtardy
|
033294715f
|
Update README and Dockerfile
|
4 yıl önce |
mtardy
|
7eb1f4934c
|
Add '*' operator for string multiplication
|
4 yıl önce |
mtardy
|
d96105269b
|
Remove unreachable protos in eval switch
|
4 yıl önce |
mtardy
|
4e94a2d382
|
Fix string_concat
|
4 yıl önce |
mtardy
|
fed14057ae
|
Add '+' operator for string concatenation
|
4 yıl önce |
mtardy
|
6187f6c657
|
Add GetIndex and SetIndex for strings
|
4 yıl önce |
mtardy
|
80c0daceaa
|
Treat single characters (delimited by single quotes) as integers
|
4 yıl önce |
mtardy
|
e26c5c565f
|
Clean some remaining comments and debugging printf
|
4 yıl önce |
mtardy
|
4f86f1cf3e
|
Add import statements (#10)
* Implement a FIFO for inputs
* Add working input stack with import statement
|
4 yıl önce |
mtardy
|
1f0bf64d84
|
Read directly from a file and/or stdin and improve error (with line and filename) at parsing time
|
4 yıl önce |
mtardy
|
38ca06d6aa
|
Add the AST global object with all the protos attached to it for access
|
4 yıl önce |
mtardy
|
c749e817cc
|
Rename all the protos with Titlecase
|
4 yıl önce |
mtardy
|
78e17dbf35
|
Add syntax to extend the language via macro
|
4 yıl önce |
mtardy
|
3e08cb9394
|
Merge binary operators into assignments
|
4 yıl önce |
mtardy
|
5598b131e2
|
Update tests
|
4 yıl önce |
mtardy
|
07f07570db
|
Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name
|
4 yıl önce |
mtardy
|
fafec91e1e
|
Add name to Function struct to print them nicely
|
4 yıl önce |
mtardy
|
8aa2318855
|
Add experimental literal ast inside programs
|
4 yıl önce |
mtardy
|
ee6f0d3497
|
Merge pull request #7 from mtardy/fixes2
Various fixes
|
4 yıl önce |
mtardy
|
6905791c60
|
Add tests and update todo
|
4 yıl önce |
mtardy
|
0b35fd3794
|
Fix 'not' operator and add primitives keys and length
|
4 yıl önce |
mtardy
|
3ee4fed8f3
|
Fix isHidden and add map_allkeys
|
4 yıl önce |
mtardy
|
d568212a6c
|
Fix parser 'blank' rule
|
4 yıl önce |
mtardy
|
8a245b3f00
|
Add tests for incdec and object instanciation
|
4 yıl önce |
mtardy
|
4286159da2
|
Many small changes to support object instanciation (#6)
|
4 yıl önce |
mtardy
|
a0fee5b587
|
Add increment and decrement operators (#5)
|
4 yıl önce |
mtardy
|
17a457e18f
|
Fix map_print for empty map
|
4 yıl önce |
mtardy
|
d132382ce0
|
Fix map creation in eval by cloning the ast node and evaluating all the values
|
4 yıl önce |
mtardy
|
192ad4de7b
|
Add map_keys and map_values methods that skip hidden symbols inside maps
|
4 yıl önce |
mtardy
|
27581da0e0
|
Add method invocation from object property with 'this' binding to access object properties
|
4 yıl önce |
mtardy
|
b10ee10533
|
Factorize assign operations into a single rule
|
4 yıl önce |
mtardy
|
2128d6abf9
|
Print error in case of non-integer in arithmetic operation
|
4 yıl önce |
mtardy
|
566b88dec1
|
Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap
|
4 yıl önce |
mtardy
|
fe1a8156d2
|
Add assignment operators such as +=, -=, ...
|
4 yıl önce |
mtardy
|
319f05ff1c
|
Modify drafts and tests
|
4 yıl önce |