mtardy
|
33b5a12c3d
|
Add millis primitive
|
пре 4 година |
mtardy
|
37a048a8e7
|
Fix map_zip to fill with either key numbers or null values
|
пре 4 година |
mtardy
|
033294715f
|
Update README and Dockerfile
|
пре 4 година |
mtardy
|
7eb1f4934c
|
Add '*' operator for string multiplication
|
пре 4 година |
mtardy
|
d96105269b
|
Remove unreachable protos in eval switch
|
пре 4 година |
mtardy
|
4e94a2d382
|
Fix string_concat
|
пре 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)
* Implement a FIFO for inputs
* Add working input stack with import statement
|
пре 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
|
5598b131e2
|
Update tests
|
пре 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
|
ee6f0d3497
|
Merge pull request #7 from mtardy/fixes2
Various fixes
|
пре 4 година |
mtardy
|
6905791c60
|
Add tests and update todo
|
пре 4 година |
mtardy
|
0b35fd3794
|
Fix 'not' operator and add primitives keys and length
|
пре 4 година |
mtardy
|
3ee4fed8f3
|
Fix isHidden and add map_allkeys
|
пре 4 година |
mtardy
|
d568212a6c
|
Fix parser 'blank' rule
|
пре 4 година |
mtardy
|
8a245b3f00
|
Add tests for incdec and object instanciation
|
пре 4 година |
mtardy
|
4286159da2
|
Many small changes to support object instanciation (#6)
|
пре 4 година |
mtardy
|
a0fee5b587
|
Add increment and decrement operators (#5)
|
пре 4 година |
mtardy
|
17a457e18f
|
Fix map_print for empty map
|
пре 4 година |
mtardy
|
d132382ce0
|
Fix map creation in eval by cloning the ast node and evaluating all the values
|
пре 4 година |
mtardy
|
192ad4de7b
|
Add map_keys and map_values methods that skip hidden symbols inside maps
|
пре 4 година |
mtardy
|
27581da0e0
|
Add method invocation from object property with 'this' binding to access object properties
|
пре 4 година |
mtardy
|
b10ee10533
|
Factorize assign operations into a single rule
|
пре 4 година |
mtardy
|
2128d6abf9
|
Print error in case of non-integer in arithmetic operation
|
пре 4 година |
mtardy
|
566b88dec1
|
Merge newSetMember/newSetIndex and newGetMember/newGetIndex into newSetMap and newGetMap
|
пре 4 година |
mtardy
|
fe1a8156d2
|
Add assignment operators such as +=, -=, ...
|
пре 4 година |
mtardy
|
319f05ff1c
|
Modify drafts and tests
|
пре 4 година |
mtardy
|
8e2badb3e9
|
Add return, break, continue statements with setjmp
|
пре 4 година |
mtardy
|
dc31fd1dc4
|
Convert tabs to spaces and fix indentation issues
|
пре 4 година |
mtardy
|
309bcb1d57
|
Add drafts and tests
|
пре 4 година |
mtardy
|
6d20596796
|
Add for loop and switch statement
|
пре 4 година |
mtardy
|
614bb8225b
|
Add return
|
пре 4 година |
mtardy
|
25afb2c964
|
Bug fix integer tag optimization
|
пре 4 година |
mtardy
|
e4435044d3
|
Optimizing integers
|
пре 4 година |
mtardy
|
79144dfebb
|
Move statement rule and fix identation
|
пре 4 година |
mtardy
|
e6a24ac27c
|
Clean Makefile
|
пре 4 година |
mtardy
|
ecdde3c52e
|
Convert tabs to spaces and fix indentation issues
|
пре 4 година |
mtardy
|
42ad489c1e
|
Add compound statements
|
пре 4 година |
mtardy
|
72c66c9995
|
Add unary, binary, ternary operator, while and semicolons as statement separator
|
пре 4 година |
mtardy
|
75c1e685cf
|
Add closure and optimize map_search for arrays
|
пре 4 година |