Commit graph

28 commits

Author SHA1 Message Date
Wolfgang Bumiller
ed24ea0cef creating and generating builtin functions, ast-macros for builtins, todo: params 2012-07-03 23:38:38 +02:00
Wolfgang (Blub) Bumiller
c1ea9cc409 function in the ast now MUST have an output type in their 'next' ast_expression pointer, the IR's outtype of functions is now filled 2012-06-29 13:07:19 +02:00
Wolfgang (Blub) Bumiller
5500785d16 Deleting the manually written ast-test which was '#if 0'-ed out 2012-06-25 19:35:18 +02:00
Wolfgang (Blub) Bumiller
db7b9a4f96 ir_value_life_merge_into, to merge the liferange of one value into the range of another, testing in test_ir 2012-06-25 14:51:31 +02:00
Wolfgang (Blub) Bumiller
f12612bbc5 Don't add the var_ prefix to function names in the ast-test macros... 2012-06-25 11:54:30 +02:00
Wolfgang (Blub) Bumiller
dfc0f6fab3 TYPE_VARIANT in codegen, writing code from ast-test 2012-05-09 17:30:08 +02:00
Wolfgang (Blub) Bumiller
704394c0a2 removing ast-test macro concept 2012-05-04 13:04:06 +02:00
Wolfgang (Blub) Bumiller
87b08247a1 A new ast-test, now using some macros to make them easier to write... 2012-05-04 12:28:35 +02:00
Wolfgang (Blub) Bumiller
bd84ebcf74 ast-test should also finalize functions directly 2012-05-03 14:04:35 +02:00
Wolfgang (Blub) Bumiller
4acea855c5 ir-test.c to use assertions, abort alone creates an ugly output 2012-05-03 14:00:38 +02:00
Wolfgang (Blub) Bumiller
627ef279fd ast_test to build an IR 2012-05-03 13:26:49 +02:00
Dale Weiler
c1a85378d5 Trailing whitespace was imminent, pending editor configuration change to accomodate insanity. 2012-05-02 18:03:17 -04:00
Dale Weiler
8156374a71 Invoke tests 2012-04-29 17:28:01 -04:00
Dale Weiler
453ca45176 added test_ast, test_ir, and test, as well as default, and all to the Makefile target list. Also made all tests C90 conformant code. 2012-04-29 16:54:41 -04:00
Wolfgang Bumiller
6dff77aa95 ast and ir testers - to use: compile into gmqcc and execut the functions in main() 2012-04-28 21:42:21 +02:00
Dale Weiler
6d0b925fbb test/ -> data/ 2012-04-24 13:09:17 -04:00
Dale Weiler
29a3c02c35 Removed primitive AST tree generator ... I'm planning a rewrite as we speak. 2012-04-15 07:59:22 -04:00
Dale Weiler
4e35032a24 Include now works 2012-04-14 03:53:20 -04:00
Dale Weiler
ebe77805eb Vector test 2012-04-14 03:08:15 -04:00
Dale Weiler
27b9348c2c More vector parsing (now supports sign) 2012-04-14 02:39:33 -04:00
Dale Weiler
9493da4f8b I got parsing to work finally. 2012-04-12 02:22:28 -04:00
Dale Weiler
32d7728b2f Parsing fixes 2012-04-11 22:13:34 -04:00
Dale Weiler
e4bc0a2d6a More parsing stuff (still totally broken) 2012-04-11 19:41:04 -04:00
Dale Weiler
51e2f2b731 Implemented support for #include, but it doesn't add an include to the lexer yet. 2012-04-11 12:13:31 -04:00
Dale Weiler
0b322a8944 Some perliminary code gen code (just writes a header) 2012-04-11 03:54:01 -04:00
Dale Weiler
d5dcb3aff7 digraph and trigraph tests 2012-04-10 04:29:06 -04:00
Dale Weiler
da80248016 More test files 2012-04-10 04:20:27 -04:00
Dale Weiler
02e9098d3d Fixed parsing issues, added some parser tests. 2012-04-10 01:03:52 -04:00