Wolfgang Bumiller
|
06ee0dc4f7
|
test/ast-test.c must define opts_ variables since we don't compile main.c into it
|
2012-07-28 21:56:35 +02:00 |
|
Wolfgang Bumiller
|
c5ba27da6f
|
ast_store to take ast_expression on its left, rather than ast_value. Assigning to a vector member would not put an ast_value on the left, but an ast_member, thus: ast_expression now already
|
2012-07-28 18:13:12 +02:00 |
|
Wolfgang Bumiller
|
fec07921a4
|
removing params vector from ast_function, params are stored in its ast_value only
|
2012-07-19 18:14:08 +02:00 |
|
Wolfgang Bumiller
|
bcd8138e43
|
Testing CALLs in test-ast
|
2012-07-04 15:05:16 +02:00 |
|
Wolfgang Bumiller
|
6bbcd5a343
|
ast-macros: MKCONSTSTRING, added sHello hello world string
|
2012-07-04 14:20:54 +02:00 |
|
Wolfgang Bumiller
|
2c1f08a209
|
Enabling the print builtin nodes, soon to be used to test CALL generation
|
2012-07-04 13:31:10 +02:00 |
|
Wolfgang Bumiller
|
29091971d2
|
add AINSTR_END to the end of functions so the debug-printing knows when to end...
|
2012-07-04 13:29:26 +02:00 |
|
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 |
|