Ian Piumarta
f6dab4a73f
Add flags to support compilation with Homebrew libgc.
2 yıl önce
Ian Piumarta
e6221cd68a
Handle string and stringLiteral properly in outputNode.
Update meta grammar and C grammar hooks.
Add unquote mechanism.
2 yıl önce
Ian Piumarta
720c2c141d
Export prim_parseFrom to meta language.
2 yıl önce
Ian Piumarta
2f2f27ccf0
Record function definitions in program.last map.
2 yıl önce
Ian Piumarta
8845a0baba
Add keyword arguments to newCall, meta grammar, and t_Call case of evaluator.
2 yıl önce
Ian Piumarta
4413adc94d
Use C_string for multi character sequences.
Use C_StringLiteral for multi part string literals and C_string for each part.
2 yıl önce
Ian Piumarta
20a3d6d17b
Add everyExternalDeclaration() and ensure().
2 yıl önce
Ian Piumarta
3a14858a70
Make yy context be local.
Add input struct pointer to yy context object.
Returning multiple objects from meta function appends them all to program.
Meta import via read-eval-print instead of changing input file pointer.
Add treeCopy and treeCopyUnquoting functions.
Add primitive treeCopy.
2 yıl önce
Ian Piumarta
516867784d
Add global parsimony variables to track struct/union/enum declarations.
2 yıl önce
Ian Piumarta
79a457b358
Cosmetic.
2 yıl önce
Ian Piumarta
c2ede14d6a
Add prim_treeCopy primitive; move some functions to before the grammar.
2 yıl önce
Ian Piumarta
9060483dbd
Move meta language environment initialisation out of main() to init().
2 yıl önce
Ian Piumarta
d22ed02e77
Remove debugging printf.
2 yıl önce
Ian Piumarta
8f69c6f81d
Reorganise grammar putting common rules at the end.
C and meta have their own space rules - and --.
2 yıl önce
Ian Piumarta
7b881478fd
Add names of rules as comments after section numbers for navigation.
2 yıl önce
Ian Piumarta
d9f06de063
Eval handles Undefined and Function in switch to avoid compiler warning.
2 yıl önce
Ian Piumarta
238cce2151
Add map_pop to remove the last element from an array-like map.
2 yıl önce
Ian Piumarta
eb85a1fb75
Compare symbols by their name not by their address to prevent non-determinism.
2 yıl önce
Ian Piumarta
886cf28409
Clean also removes dSYM directories.
2 yıl önce
Ian Piumarta
51d648e7e1
Move source files into src subdir.
Makefile cleans dSYM directories.
2 yıl önce