Commit graph

455 commits

Author SHA1 Message Date
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
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
4c513a50de ast2 ignore parseString warnings, optional getNimExpression, handle override nil, param comments 2020-04-06 22:38:12 -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
bd1c283eb9 Merge branch 'newalgo-3' of https://github.com/nimterop/nimterop into newalgo-3 2020-04-03 14:54:36 -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
5c20ce7b60 ast2 test fix for osx, catch parseString errors, handle type field comments 2020-04-02 18:17:36 -05:00