55 Commits (6e9df129ddba0481ececcc0387731cbda61980ed)

Author SHA1 Message Date
  mtardy 6e9df129dd
Add floats (#22) 4 years ago
  mtardy cbc3e6ec89
Add factories (#21) 4 years ago
  Ian Piumarta f070bc84c4 add allKeys, allValues; add @@ syntax to unquote and splice an array into a list of arguments or parameters 4 years ago
  mtardy 9541a96279 Correctly add slice '[n:m]' for strings and array-like maps 4 years ago
  Ian Piumarta 5e7538a2f7 Use safe comparisons in oopcmp 4 years ago
  Ian Piumarta 0156ca00f7 Allocate true object sizes instead of sizeof(union object) 4 years ago
  mtardy 530e71426b Move TYPESIG and CASE macros and undef them 4 years ago
  mtardy d4af735207 Add TYPESIG and CASE macros to switch between types combinations more elegantly 4 years ago
  Ian Piumarta 1cee17ea17 Add flags to Map with MAP_ENCLOSED bit; add pool pointer to Map for scope free list 4 years ago
  Ian Piumarta ce8ac5975f Grow maps exponentially instead of linearly 4 years ago
  Ian Piumarta 6a297558bc Add String() factory; instrument memory usage 4 years ago
  mtardy f42be7d411 Fix relations to compare more than just integers, fix semicolons to end 4 years ago
  mtardy 1ed52120bb Add slice '[n:m]' for strings and array-like maps 4 years ago
  mtardy 2c057a58f9 Fix circular printing, comparison and pass scope to primitives 4 years ago
  mtardy 7ca8267244 Add printOn function and fix readEvalPrint with imports 4 years ago
  mtardy 1a82135eab Fix try catch mechanism and runtimeError with mrAST 4 years ago
  mtardy b51fe9f606
Add nice format for runtime errors (#12) 4 years ago
  mtardy 7eb1f4934c Add '*' operator for string multiplication 4 years ago
  mtardy 4e94a2d382 Fix string_concat 4 years ago
  mtardy fed14057ae Add '+' operator for string concatenation 4 years ago
  mtardy 78e17dbf35 Add syntax to extend the language via macro 4 years ago
  mtardy 07f07570db Add quasiquote and unquote mechanism, add 'syntax' fixed functions and use oop as functions name 4 years ago
  mtardy fafec91e1e Add name to Function struct to print them nicely 4 years ago
  mtardy 3ee4fed8f3 Fix isHidden and add map_allkeys 4 years ago
  mtardy 17a457e18f Fix map_print for empty map 4 years ago
  mtardy 192ad4de7b Add map_keys and map_values methods that skip hidden symbols inside maps 4 years ago
  mtardy 2128d6abf9 Print error in case of non-integer in arithmetic operation 4 years ago
  mtardy 8e2badb3e9 Add return, break, continue statements with setjmp 4 years ago
  mtardy dc31fd1dc4 Convert tabs to spaces and fix indentation issues 4 years ago
  mtardy 6d20596796 Add for loop and switch statement 4 years ago
  mtardy 614bb8225b Add return 4 years ago
  mtardy 25afb2c964 Bug fix integer tag optimization 4 years ago
  mtardy e4435044d3 Optimizing integers 4 years ago
  mtardy 79144dfebb Move statement rule and fix identation 4 years ago
  mtardy ecdde3c52e Convert tabs to spaces and fix indentation issues 4 years ago
  mtardy 72c66c9995 Add unary, binary, ternary operator, while and semicolons as statement separator 4 years ago
  mtardy 75c1e685cf Add closure and optimize map_search for arrays 4 years ago
  mtardy f8078c49d5 Add draft of map_get for array-like access optimization 4 years ago
  mtardy 34b33bf34b Add function parameters support with simplistic local scope 4 years ago
  mtardy 85854f22cf Add simplistic function definition 4 years ago
  mtardy 10fb7089b4 Add read node 4 years ago
  mtardy d92527ec1b Build and eval the AST for most binary operators 4 years ago
  mtardy b0f59db5cf Add Objects with prototypes 4 years ago
  mtardy 8957b242ad Fix symbol table 4 years ago
  mtardy 73fc6a9e08 Remove Symbol's value and defined and store them in Map KV 4 years ago
  mtardy e7ce81282f Add assert check on key in map_get 4 years ago
  mtardy 38128272b7 map_insert and map_set return value inserted instead of whole map 4 years ago
  mtardy 24949bad35 Add a scope parameter in intern function 4 years ago
  mtardy 5962b6ce40 Fix a parenthesis mistake in memmove len arg when inserting or deleting in a Map 4 years ago
  mtardy 93633e4d4c Remove table object, replace it with a 'globals' map 4 years ago