Commit graph

165 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
6ffacf92fc Forward pragmas to toast 2020-07-14 18:08:59 -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
2aef7c99b3 Fix #127 - write wrapper to file 2020-06-30 22:33:10 -05:00
Ganesh Viswanathan
d126e9944f Remove legacy backend 2020-06-24 10:37:38 -05:00
Ganesh Viswanathan
e44ab30af9 Fix rebase issues 2020-06-23 15:13:11 -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
f207911d38 --gc:arc fixes and testing 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
1820fdffcf Optional version and uri, no Std copy, reuse deps, jbb libc check 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
c359cc0226 Fix lib copy issue 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
2b3b5e2bec Add binarybuilder.org support, conan improvements, headerLDeps 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
f21dab89ca Handle bad conan uri, test Windows static 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
c63d82bf77 Add tests for conan, recurse implies preprocess 2020-06-23 12:27:49 -05:00
Ganesh Viswanathan
e8baeb9229 Fix #222 2020-05-27 10:25:48 -05:00
Ganesh Viswanathan
6f96437f39 Reduce regex for perf, reduce globals for CT 2020-05-18 23:47:31 -05:00
Ganesh Viswanathan
11f84d4d80 var support, interleaved #defines, fix ast1 default, misc performance 2020-05-18 23:47:31 -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
37fa2ad7fb Add CLI file feature 2020-05-12 23:02:04 -05:00
Ganesh Viswanathan
8d4866160e Fix #196 - allow remapping of types 2020-05-11 22:56:46 -05:00
Ganesh Viswanathan
865ac56c20 Fix lib version regex 2020-05-10 01:49:05 -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
Ganesh Viswanathan
1f2d7892ad Enable -d:checkAbi in tests 2020-05-05 11:04:17 -05: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