Commit graph

416 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
cc460b2779 Add skippedSymbols for determining if a type has been skipped 2020-04-26 09:12:17 -06:00
Joey Yakimowich-Payne
073dc5d35a Add hack for skipping types as root nodes 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
c0977fa827 Update code with comments and add debug expr proc 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
8a0f7954ae nimState -> gState 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
b1a445c34d Update based on comments from review. Need to add more docs and reorg to use gstate 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
4794c076ff Fix pcre tests 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
d83884a391 Add missing sized type specifier for 'long int', etc 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
a84adfe1d8 Add comments describing capabilities 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
1576127a6e Use tsNodeChild 2020-04-26 09:11:56 -06:00
Joey Yakimowich-Payne
208098b3eb Make bitwise_expression forwards compatible
Skip syms for tmath

Skip more syms

Add casting back for cast_expression. Disable cast test on Nim < 1.0.0

Skip more syms for cast expressions on Nim < 1.0.0
2020-04-26 09:11:48 -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
62c68d69ee Add sizeof expression parser, fix nkNone issue, reduce size of typeof expressions
Cleanup, fix bugs
2020-04-26 09:11:22 -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
Joey Yakimowich-Payne
305d90583e Add proper binary casting 2020-04-23 17:30:28 -06:00
Joey Yakimowich-Payne
c1520b4fd1 Add better error handling for unimplemented types 2020-04-23 17:30:28 -06:00
Joey Yakimowich-Payne
879c7e3c78 Add preliminary expression parsing 2020-04-23 17:30:28 -06:00
Joey Yakimowich-Payne
80018f43cf WIP Ast printing 2020-04-23 17:30:28 -06:00
Travis CI User
43dd43e318 Fix rsa test 2020-04-23 14:34:41 +00:00
Ganesh Viswanathan
c1f46680f7 Add cImport for multiple headers 2020-04-22 22:11:30 -05:00
Ganesh Viswanathan
f17b958f47 markAndSweep, removeStatic 2020-04-22 12:01:20 -05:00
Ganesh Viswanathan
da6a4e30ab Remove segfaults 2020-04-22 11:37:45 -05:00
Ganesh Viswanathan
79526221b7 Avoid building toast twice in CI 2020-04-22 11:28:16 -05:00
Ganesh Viswanathan
00b66bf92c Change FILE* to File 2020-04-22 09:39:48 -05:00
Ganesh Viswanathan
f2870d8ba6 Fix multi-header processing, perf improvements 2020-04-21 23:37:37 -05:00
Ganesh Viswanathan
183eabff83 Get rid of nimState 2020-04-21 14:53:26 -05:00
Ganesh Viswanathan
01bc01a30c Handle qualifiers after type 2020-04-21 13:39:20 -05:00
BarrOff
82ca3bd37b
Some small compatibility fixes for FreeBSD (#190) 2020-04-20 23:41:16 -05:00
Ganesh Viswanathan
40c8e757aa Remove expandSymlink 2020-04-20 19:00:55 -05:00
Ganesh Viswanathan
e7bf0f61ad ast2 fix replace test 2020-04-20 13:24:57 -05:00
Ganesh Viswanathan
ab0439e60e ast2 static inline with -H, fix #188, --replace support 2020-04-20 12:28:14 -05:00
Ganesh Viswanathan
485c2f1ab2 ast2 static inline support 2020-04-19 00:50:14 -05:00
Ganesh Viswanathan
e17d6edb5e Update README 2020-04-17 17:11:35 -05:00
Ganesh Viswanathan
281d260912 Fix Travis, tests for varargs 2020-04-16 08:39:52 -05:00
Ganesh Viswanathan
6a9a35db61 ast2 varargs support 2020-04-15 23:42:22 -05:00
Ganesh Viswanathan
6d08f6ed80 Fix enum size to cint 2020-04-15 12:47:30 -05:00
Ganesh Viswanathan
25b07a07ff ast2 nested array field 2020-04-14 22:47:33 -05:00
Ganesh Viswanathan
92fe90f834 ast2 nested struct support 2020-04-14 19:40:46 -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
b2de34328a No explicit imports for cPluginPath 2020-04-12 23:12:38 -05:00
Ganesh Viswanathan
0afb634b59 Fix #181 - cPluginPath() 2020-04-12 12:56:50 -05:00
Ganesh Viswanathan
9cd39600d4 Partly fix issue #183, lineTrace:on 2020-04-12 12:19:13 -05:00
Ganesh Viswanathan
ecee58342e Fix expression override issue 2020-04-11 14:54:19 -05:00
Ganesh Viswanathan
894193eb43 Fix type override issue 2020-04-10 23:49:23 -05:00
Ganesh Viswanathan
f64fbb67b1 Fix #178 - single underscore 2020-04-10 22:45:29 -05:00
awr1
f5dd89904d
Preprocessor mode fixes (#176) 2020-04-09 23:00:56 -05:00
Ganesh Viswanathan
058261c203 ast2 tests and const bugfix 2020-04-08 17:21:23 -05:00