Commit graph

455 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
ae5a3f7e7a Fix missing comment in ast2 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
6895132749 Add nimArgs to buildDocs docstring 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
42fbaf4c4f compilerArgs -> nimArgs, fix multi decl comments 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
83a63881f1 Fix bug with comment generation 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
14e42a0a22 Add escaping for rst 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
e24ced7826 Remove unneeded proc, add more comments 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
2bd8b297a9 Run docs on rsa.nim 2020-05-04 13:52:08 -06:00
Joey
2faebddcaa Change install to develop for appveyor 2020-05-04 13:52:08 -06:00
Joey Yakimowich-Payne
63367a16a5 Add docgen runs in tests
Fix paths import

Skip docgen for rsa for now
2020-05-04 13:51:59 -06:00
Joey Yakimowich-Payne
418e5db825 Add more robust comment extraction 2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
c083b443e4 Add comment gen for array type 2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
522178913e Remove unused proc 2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
df3e73e965 Use gState.nocomments 2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
c78dfd087c Add comments explaining comment node procs 2020-05-03 18:45:20 -06:00
Joey Yakimowich-Payne
8ecac1f09c Remove unnecessary proc 2020-05-03 18:45:20 -06:00
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