Commit graph

83 commits

Author SHA1 Message Date
Ganesh Viswanathan
51ae21f8d5 Export enums and procs 2019-01-10 10:25:19 -06:00
Ganesh Viswanathan
4d57be55ac Support for multiple functions in declarator, size_t fixes 2019-01-09 17:08:04 -06:00
Ganesh Viswanathan
d21017ac5b Support for nameless function params, unused enums 2019-01-09 14:18:31 -06:00
Ganesh Viswanathan
960a8f6873 Merge branch 'master' of https://github.com/genotrance/nimterop 2018-12-31 12:35:58 -06:00
Ganesh Viswanathan
48ae6bad7d Update appveyor to 0.19.2 2018-12-31 12:35:49 -06:00
genotrance
6538424290
Merge pull request #30 from timotheecour/pr_add_failing_tests
various fixes
2018-12-29 18:54:04 -06:00
Timothee Cour
6cc1e66ee2 fix #15 by re-enabling nim cpp on c file and selectively disabling failing things 2018-12-29 14:49:01 -08:00
Timothee Cour
9f7d2ca956 add failing tests; add a test at CT 2018-12-29 14:15:34 -08:00
Ganesh Viswanathan
1e086d5959 Implement PR #17 2018-12-28 00:33:09 -06:00
Ganesh Viswanathan
e2430cf40c Fix #15, fix #20 2018-12-27 23:38:02 -06:00
Ganesh Viswanathan
21bd2d4112 Struct field function pointers, cstring, show toast error in cimport 2018-12-27 22:42:55 -06:00
Ganesh Viswanathan
c7a3c7b7d6 Fix typedef struct bug 2018-12-27 00:38:29 -06:00
Ganesh Viswanathan
9b93fb6561 Reduce redundancy in grammar 2018-12-26 23:46:09 -06:00
Ganesh Viswanathan
33a3f6fc8b Fix for const void * proc 2018-12-26 21:33:50 -06:00
Ganesh Viswanathan
c3744c0034 Enums as distinct int, always relative to project path, cmd /c for toast, escape reserved words 2018-12-26 21:24:05 -06:00
Ganesh Viswanathan
9cddef831d Remove closure pragmas 2018-12-26 20:24:17 -06:00
Ganesh Viswanathan
e59e34a7be Array ptr, numeric length, tests 2018-12-26 20:18:38 -06:00
Ganesh Viswanathan
373e9decf3 Support arrays in structs 2018-12-26 18:49:46 -06:00
Ganesh Viswanathan
1684e773ad Tests for enhancements 2018-12-26 17:42:13 -06:00
Ganesh Viswanathan
34cb1715b8 Support for math expressions, nameless enums, uintptr, redundant typedef naming 2018-12-26 13:25:45 -06:00
Ganesh Viswanathan
0697feed0f Fix treesitter namespace issue 2018-12-15 22:35:56 -06:00
Ganesh Viswanathan
f90b00446e No caching of binaries on Travis 2018-12-10 09:52:18 -06:00
Ganesh Viswanathan
d835d29e3e Fix recursion in type 2018-12-05 00:35:15 -06:00
Ganesh Viswanathan
7c8afa1997 Fix default cpp mode, print row col length in AST output 2018-12-05 00:14:38 -06:00
Ganesh Viswanathan
dfe06fd9d4 Support for unions 2018-12-04 23:37:08 -06:00
Ganesh Viswanathan
cb1c7f28cb Add math test for Windows 2018-12-04 17:14:50 -06:00
Ganesh Viswanathan
8d9bc5adbd Fix qualifiers, preproc only literals, remove _, struct field issue, print preproc output 2018-12-04 16:46:16 -06:00
Ganesh Viswanathan
e77792ceb7 Fix crash if no arguments 2018-12-04 14:59:00 -06:00
Ganesh Viswanathan
cf2f200a16 Fix performance issues with regex 2018-12-04 13:24:49 -06:00
Ganesh Viswanathan
cb100ca571 Add short CLI flags, --source= not required 2018-12-04 11:11:34 -06:00
Ganesh Viswanathan
4fe3b0380c Fixes for const, short and function returning pointer 2018-12-03 22:29:39 -06:00
Ganesh Viswanathan
d3340d51e2 Fix inline comments breaking search 2018-12-03 21:15:02 -06:00
Ganesh Viswanathan
007f3aa191 Fix for uchar and double 2018-12-03 16:25:44 -06:00
Ganesh Viswanathan
ba8c57984b Support for unsigned, function params with pointers 2018-12-03 16:17:13 -06:00
Ganesh Viswanathan
33956c36ee Switch to simpler grammar engine 2018-12-03 14:58:27 -06:00
Ganesh Viswanathan
9c206fea4f Merge branch 'master' of https://github.com/genotrance/nimterop 2018-12-03 14:20:31 -06:00
genotrance
a32835a0e3
Merge pull request #26 from timotheecour/pr_fix_8
fix #8 ; keep track of source file; display in standard sublime format file:line:col
2018-11-29 18:32:34 -06:00
Timothee Cour
7dd8fff8a7 fix #8 ; keep track of source file; display in standard sublime format file:line:col 2018-11-29 15:13:25 -08:00
Ganesh Viswanathan
b1c5407ff3 Fix #22 - print parse errors as comments 2018-11-28 22:21:34 -06:00
Ganesh Viswanathan
c9b57c567c Fix #23 - handle inline comments, handle typedef enum X {} Y; 2018-11-28 16:51:32 -06:00
Ganesh Viswanathan
a2ff8ea64c Update README [ci skip] 2018-11-28 16:06:15 -06:00
genotrance
77fafa0ada
Merge pull request #21 from timotheecour/pr_misc4
use cligen; fix bugs; some cleanups
2018-11-28 15:49:56 -06:00
Timothee Cour
4a6973c14d use cligen; fix bugs; some cleanups 2018-11-28 16:30:56 -05:00
Ganesh Viswanathan
691e7d80e5 Fix uint32 2018-11-28 11:37:53 -06:00
Ganesh Viswanathan
7344042029 Move AST to Nim processing into toast 2018-11-28 11:08:45 -06:00
Ganesh Viswanathan
d7ca43f49f Fix toast on Linux 2018-11-27 20:14:32 -06:00
genotrance
b8b56f4ed2
Merge pull request #18 from timotheecour/pr_fix_32bit_builds
fix 32bit builds
2018-11-27 19:50:05 -06:00
Timothee Cour
e7f58adc49 simplift travis 2018-11-27 20:19:24 -05:00
Timothee Cour
3a3c1f5e57 fix 32bit builds 2018-11-27 20:09:00 -05:00
Ganesh Viswanathan
51180f6373 Build status on Github 2018-11-27 18:09:42 -06:00