Commit graph

136 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
1e105d34a4 Add docgen runs in tests
Fix paths import

Skip docgen for rsa for now
2020-05-04 16:43:07 -05:00
Ganesh Viswanathan
748998b0bd Fixes and test lzma/zlib with ast2 2020-05-01 15:07:51 -05:00
Joey Yakimowich-Payne
34043bd5af Fix #198: integer out of range 2020-05-01 07:20:45 -06:00
Ganesh Viswanathan
4784616d98 Clean globals, build debug 2020-04-30 08:54:18 -05:00
Ganesh Viswanathan
2278f0e49d Add -f:ast1, lesser debug output 2020-04-29 14:38:35 -05:00
Ganesh Viswanathan
0098947a81 Fix timeit ret for osx 2020-04-29 13:02:06 -05:00
Ganesh Viswanathan
9a93417ae2 Fix timeit for legacy, reduce Windows test matrix 2020-04-29 00:07:15 -05:00
Ganesh Viswanathan
492eba8f22 Add timeit to measure test timings 2020-04-28 20:48:21 -05:00
Ganesh Viswanathan
76d9be756a Fix mode, toast output dir 2020-04-28 17:09:56 -05:00
Ganesh Viswanathan
33d77f82e8 Fix #151 and fix #153 - detect nim.cfg 2020-04-28 09:25:54 -05: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
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
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
055d6bee73 Add math_expression and fix ast2 tests
Update to include more expressions
2020-04-26 09:10:49 -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
00b66bf92c Change FILE* to File 2020-04-22 09:39:48 -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
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
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
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
Ganesh Viswanathan
c574dd1259 Merge branch 'newalgo-4' of https://github.com/nimterop/nimterop into newalgo-4 2020-04-07 20:24:09 -05:00
Ganesh Viswanathan
d877b20407 ast2 fix issue 174 - UncheckedArray 2020-04-07 20:24:04 -05:00
Ganesh Viswanathan
31ed046e3b ast2 tmath tests 2020-04-07 17:54:17 -05:00
Ganesh Viswanathan
4ccde62d4f ast2 fix issue 156 - abstract function pointer 2020-04-07 17:40:59 -05:00
Ganesh Viswanathan
e1c8ef2775 ast2 dynlib fix, add 1.2.0 testing 2020-04-06 12:44:07 -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
36faf62269 Add wrapper test 2020-03-30 15:56:05 -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