Commit graph

73 commits

Author SHA1 Message Date
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
Ganesh Viswanathan
b8cddadfd0 Add CI 2018-11-27 18:01:38 -06:00
genotrance
7aed05b4a8
Merge pull request #14 from timotheecour/pr_tnimterop_cpp
misc changes
2018-11-27 17:55:36 -06:00
Timothee Cour
c1ea14c0d3 doAssert => check 2018-11-27 18:28:14 -05:00
Timothee Cour
6a4158dab4 fixup 2018-11-27 18:28:14 -05:00
Timothee Cour
d00aeeafdd add syntax cIncludeDir "$projpath/include"; do not use recursive search paths; add test tests/tnimterop_cpp.nim 2018-11-27 18:28:14 -05:00
Ganesh Viswanathan
fb053dd81e Cleanup 2018-11-27 16:58:11 -06:00
Ganesh Viswanathan
9ee67da1c2 Add preprocessor step in toast 2018-11-27 14:56:47 -06:00
Ganesh Viswanathan
14b75cea31 Merge branch 'master' of https://github.com/genotrance/nimterop 2018-11-25 12:27:49 -06:00
Ganesh Viswanathan
50eba9a485 Minor changes 2018-11-25 12:27:28 -06:00
genotrance
2b7e60807c
Merge pull request #13 from timotheecour/fix_gitignore
fix gitignore
2018-11-24 17:08:24 -06:00