Commit graph

83 commits

Author SHA1 Message Date
Joey
b568863527
Fix #233: make shl/shr use the direct left operand for type casting (#235) 2020-10-20 12:08:52 -05:00
Ganesh Viswanathan
4d344e5807 Handle (*field), ident starting w/ digit error, fix detection of plugin and toast errors 2020-07-03 16:17:34 -05:00
Ganesh Viswanathan
1ad32e4574 Fix missing preprocessor errors, toast errors, cDisableCache not working, print generated wrapper location 2020-07-03 01:46:27 -05:00
Ganesh Viswanathan
f191ea7244 Fix #237 - anonymous nested struct/unions, fix #236 - unnamed enums 2020-07-02 23:55:26 -05:00
Ganesh Viswanathan
7738063038 Fix #231 - const func type, comment in struct 2020-06-23 12:27:50 -05:00
Ganesh Viswanathan
7c9d826998 Handle octal values correctly 2020-06-23 12:27:50 -05:00
Ganesh Viswanathan
e8baeb9229 Fix #222 2020-05-27 10:25:48 -05:00
Joey Yakimowich-Payne
9895303578 Make undefined constants keep types 2020-05-15 11:20:00 -05:00
Joey Yakimowich-Payne
ed26911436 Disable windows check 2020-05-15 11:20:00 -05:00
Joey Yakimowich-Payne
1df2943cf8 Change to static const 2020-05-15 11:20:00 -05:00
Joey Yakimowich-Payne
32c9843548 Fix undefined identifiers resulting in incorrect types 2020-05-15 11:20:00 -05:00
Ganesh Viswanathan
8d4866160e Fix #196 - allow remapping of types 2020-05-11 22:56:46 -05:00
Ganesh Viswanathan
701a8793c2 Fix #202 - implement noHeader 2020-05-09 02:34:59 -05:00
Joey Yakimowich-Payne
d5c15d0d3a Add multiple pointer support 2020-05-06 11:08:07 -05:00
Joey Yakimowich-Payne
87eef11ec1 Fix pointer issue and test 2020-05-06 11:08:07 -05:00
Ganesh Viswanathan
3fe6e51780 Fix tast2.h 2020-05-05 12:23:16 -05: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