Joey Yakimowich-Payne
6a8d05dae2
Add ability to have multiple comments
2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
f2975fde55
Fix comments not being valid rst
2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
4ea1f0f340
Add comments for fields and objects
2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
dac496e6c2
Add comments for enums and procs
2020-05-03 18:45:20 -06:00
Ganesh Viswanathan
ad240abdec
Update README based on feedback
2020-05-02 23:48:20 -05:00
Ganesh Viswanathan
370f64d4e7
Fix for zlib
2020-05-01 17:51:57 -05:00
Ganesh Viswanathan
748998b0bd
Fixes and test lzma/zlib with ast2
2020-05-01 15:07:51 -05:00
genotrance
568cfc5da6
Fix #198 : integer out of range
2020-05-01 12:45:15 -05:00
Ganesh Viswanathan
08f8ca32f4
Fix #196 - more known types
2020-05-01 11:02:29 -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
2060c8964d
Prevent plugin outdir override by configuration
2020-04-28 11:54:00 -05:00
Ganesh Viswanathan
c57666d5db
Enable conf detection in toast standalone
2020-04-28 10:30:24 -05:00
Ganesh Viswanathan
33d77f82e8
Fix #151 and fix #153 - detect nim.cfg
2020-04-28 09:25:54 -05:00
genotrance
73ef7c4ccd
Merge pull request #191 from jyapayne/poc_print_ast
...
[ast2] Enable parsing some C Macro expressions to Nim expressions using treesitter
2020-04-26 11:29:27 -05:00
Joey Yakimowich-Payne
89c10c4b25
Address some PR comments
2020-04-26 09:12:17 -06:00
Joey Yakimowich-Payne
322a003198
Add test for not supported nodes
2020-04-26 09:12:17 -06:00
Joey Yakimowich-Payne
4e687dd807
Don't support multiple base nodes yet
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
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