Commit graph

69 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
0ff18278f0 Add multiple pointer support 2020-05-05 20:36:02 -06:00
Joey Yakimowich-Payne
e69aafa40d Fix pointer issue and test 2020-05-05 14:47:42 -06:00
Joey Yakimowich-Payne
34043bd5af Fix #198: integer out of range 2020-05-01 07:20:45 -06:00
Joey Yakimowich-Payne
322a003198 Add test for not supported nodes 2020-04-26 09:12:17 -06:00
Joey Yakimowich-Payne
3e28501826 Fix comments breaking code 2020-04-26 09:12:17 -06:00
Joey Yakimowich-Payne
9e799ee3b1 Fix tmath tests
Modify tmath.nim to have one skip symbol

Fix macro expansion with common value

Fix tmath again
2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
2813dc61f2 Consolidate shift_expression into binary_expression and write more tests 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
aa1086fae3 Fix cast type
only run tast2 on supported compilers

Change cast to gentle type cast

Re enable tests for Nim < 1.0.0
2020-04-26 09:11:43 -06:00
Joey Yakimowich-Payne
173e6d625c Add string and char support
Update some comments

Rename exprparser main proc

Don't export parse procs

Add missing utils module

Try to fix array type test

Try fix cast test error

Disable cast test for now

Revert back comment test. Have to figure out how to test without vm
2020-04-26 09:11:33 -06:00
Joey Yakimowich-Payne
055d6bee73 Add math_expression and fix ast2 tests
Update to include more expressions
2020-04-26 09:10:49 -06:00
Ganesh Viswanathan
ab0439e60e ast2 static inline with -H, fix #188, --replace support 2020-04-20 12:28:14 -05:00
Ganesh Viswanathan
281d260912 Fix Travis, tests for varargs 2020-04-16 08:39:52 -05:00
Ganesh Viswanathan
25b07a07ff ast2 nested array field 2020-04-14 22:47:33 -05:00
Ganesh Viswanathan
08306b9802 Fix #172 - skip qualifiers 2020-04-13 20:18:37 -05:00
Ganesh Viswanathan
f23d17d0b2 Fix #185 - forward decl symbol change 2020-04-13 12:46:41 -05:00
Ganesh Viswanathan
9cd39600d4 Partly fix issue #183, lineTrace:on 2020-04-12 12:19:13 -05:00
Ganesh Viswanathan
f64fbb67b1 Fix #178 - single underscore 2020-04-10 22:45:29 -05:00
Ganesh Viswanathan
058261c203 ast2 tests and const bugfix 2020-04-08 17:21:23 -05:00
Ganesh Viswanathan
d877b20407 ast2 fix issue 174 - UncheckedArray 2020-04-07 20:24:04 -05:00
Ganesh Viswanathan
4ccde62d4f ast2 fix issue 156 - abstract function pointer 2020-04-07 17:40:59 -05:00
Ganesh Viswanathan
e911a9ee92 ast2 multiple array type block 2020-04-05 23:55:44 -05:00
Ganesh Viswanathan
534acf9259 ast2 var of proc type, multiple proc type block 2020-04-05 19:26:38 -05:00
Ganesh Viswanathan
ced9c14828 ast2 test fix for osx, catch parseString errors, handle type field comments 2020-04-03 14:53:22 -05:00
Ganesh Viswanathan
ad8557d70e ast2 proc pragmas, fix typedef struct X importc, convention selection, ast2 bitfield support 2020-04-01 21:47:15 -05:00
Ganesh Viswanathan
e06917f40f c2nImport ret, del specials from header, cache if exec not die, ast2 type pragma improvements 2020-03-30 15:46:34 -05:00
Ganesh Viswanathan
8b9c39f42e ast2 newTypeIdent cleanup, pragma tests, docs.nim docs 2020-03-25 15:17:20 -05:00
Ganesh Viswanathan
c5e978c2ef ast2 override final, void return and param fixes, multi proc support 2020-03-23 22:07:39 -05:00
Ganesh Viswanathan
cadf16293d ast2 enum support 2020-03-23 14:02:40 -05:00
Ganesh Viswanathan
be1e85934d ast2 forward declaration support 2020-03-21 20:07:45 -05:00
Ganesh Viswanathan
f01c7ea60d ast2 improve override/skip, duplicates 2020-03-20 01:31:54 -05:00
Ganesh Viswanathan
0d1445a8ac ast2 getNameInfo cleanup, initial skip/override support 2020-03-18 23:47:00 -05:00
Ganesh Viswanathan
9d2626bb5f Initial ast2 proc support 2020-03-17 16:34:11 -05:00
Ganesh Viswanathan
1a9911fc25 Add ast2 union support 2020-03-16 23:15:34 -05:00
Ganesh Viswanathan
3f500898aa Add ast2 array expression support, cleanup debug output 2020-03-16 17:50:43 -05:00
Ganesh Viswanathan
4dd15aa7d7 Fix #169 - header pragma omitted by default 2020-03-12 18:36:38 -05:00
Ganesh Viswanathan
a7aa69f71d Merge newalgo branch ast2 functionality 2020-03-10 14:12:18 -05:00
Ganesh Viswanathan
3fcc3b9526 Fix #75 - support char and char* #defines 2019-12-21 12:20:33 -06:00
Ganesh Viswanathan
362b5498b1 Fix #57 and #152 - clean ident in expressions 2019-12-20 22:37:02 -06:00
Ganesh Viswanathan
5f9a59fcc6 Test cases for cOverride 2019-10-21 21:42:09 -05:00
Ganesh Viswanathan
48955b3aa1 Partial fix for #139 2019-10-16 17:13:27 -05:00
Ganesh Viswanathan
e293172cf2 Fix execAction, enum expressions, union cleanup, no forceClean 2019-10-14 22:55:01 -05:00
Ganesh Viswanathan
29f59eee99 Fix #131 - division in enums 2019-07-29 23:24:03 -05:00
Ganesh Viswanathan
68ab2dbec1 Bitfield support, space after comments 2019-06-09 15:58:01 -05:00
Ganesh Viswanathan
f8c433832e Add support for char enums - #119 2019-05-07 22:22:25 -05:00
Ganesh Viswanathan
2457671f9e Pragma cleanup and fixes 2019-05-07 11:44:32 -05:00
Ganesh Viswanathan
69cfce561a Undo volatile testcase 2019-05-07 00:43:36 -05:00
Ganesh Viswanathan
e851a9adf3 Support for type qualifier after type 2019-05-07 00:38:43 -05:00
Ganesh Viswanathan
62f5dc121b Test case for enum identifer or'd 2019-05-07 00:11:58 -05:00
Ganesh Viswanathan
9a90495a1e Handle struct pointer first field, additional debugging 2019-04-05 12:14:27 -05:00
Ganesh Viswanathan
454403b9fe Double pointer support 2019-03-23 13:33:52 -05:00