Commit graph

451 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
31bea0f032 Add more robust comment extraction 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
789af2b5cc Add comment gen for array type 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
f70f836af8 Remove unused proc 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
b81d51dc37 Use gState.nocomments 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
c8c2efdc30 Add comments explaining comment node procs 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
4f1464bdfb Remove unnecessary proc 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
b26f92b0ff Add ability to have multiple comments 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
f5ee979fa8 Fix comments not being valid rst 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
5a4432bb68 Add comments for fields and objects 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
dc1c4bc177 Add comments for enums and procs 2020-05-04 16:43:07 -05:00
Joey Yakimowich-Payne
742fc3d96a Add more maintainable build types
Add buildTypes to docs
2020-05-04 15:49:38 -05:00
Joey Yakimowich-Payne
4156a1effa Address PR issues 2020-05-04 15:49:38 -05:00
Joey Yakimowich-Payne
0bf2021fd4 Make getHeader specify which make strategy to use
Fix make call

Add comment
2020-05-04 15:49:38 -05:00
Ganesh Viswanathan
6cfe59debc Update README with changelog, credits 2020-05-04 15:48:34 -05:00
Ganesh Viswanathan
35b0b5eff7 Add change log 2020-05-04 13:55:02 -05: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