Commit graph

23 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
a7edd8525d Rename execute to pipe 2018-06-27 22:22:38 +09:00
Joey Yakimowich-Payne
e371546d52 Add support for executing a command on a file.
$file in the command string references the file name. The stdout of the
command will become the file's new contents. This is useful for doing
things that nimgen might not support, like using sed or grep or some
other command line tool.
2018-06-16 15:33:47 +09:00
Ganesh Viswanathan
a8bcbf8e89 Revert nep1 for c2nim 2018-06-11 11:00:51 -05:00
Ganesh Viswanathan
9805bdbc80 Internal cleanup 2018-06-11 10:38:29 -05:00
Ganesh Viswanathan
e3a3fe12e6 Bugfix for compile 2018-06-11 09:50:30 -05:00
Ganesh Viswanathan
4b91f1bbbe Copy files during prepare, NEP1 conformance 2018-06-11 09:42:41 -05:00
Ganesh Viswanathan
7fbc8fbcde Style fixes 2018-06-11 01:47:08 -05:00
Ganesh Viswanathan
5e784f09ef Add support for renaming generated files 2018-06-09 17:58:39 -05:00
Ganesh Viswanathan
6d0abefe8a Minor bugfixes 2018-03-13 17:05:40 -05:00
Ganesh Viswanathan
bcace601d3 Comment lines feature, remove docopt 2018-03-08 22:28:41 -06:00
Ganesh Viswanathan
968e89f08e Added inlining in place of recursion, extract existing ZIP file without downloading, delete/create output directory error handling 2018-02-02 14:48:59 -06:00
Ganesh Viswanathan
53f0626bed Support for pragma definitions 2018-01-05 19:16:49 -06:00
Ganesh Viswanathan
3a6c74afb7 Merge branch 'master' of https://github.com/genotrance/nimgen 2017-12-04 14:26:44 -06:00
Ganesh Viswanathan
27ea25b901 - Added support for wildcard file tasks
- Fixed issue in replacing - with _ in generated modules
- Fixed inconsistent naming of flags and procs
2017-12-04 14:26:20 -06:00
Ganesh Viswanathan
0611d7de5a Overwrite on unzip 2017-12-04 11:06:01 -06:00
Ganesh Viswanathan
9bcabd23e3 - Docopt for CLI parsing
- Download, extract and Git checkout support
- OS specific keys with -win, -lin and -osx
- Force re-generation with -f flag
2017-11-16 02:39:48 -06:00
Ganesh Viswanathan
e5eb693d2e - Recurse only quoted in #include
- Unique header/dynlib naming
2017-11-14 22:34:12 -06:00
Ganesh Viswanathan
a02cbbeeba - Support for C++ wrapping
- Fix module naming
- Remove file caching
- Fix bug that was deleting .nim file
- Add test case
2017-11-13 16:42:56 -06:00
Ganesh Viswanathan
79b62cde25 Remove -_. from import statements 2017-11-08 03:15:42 -06:00
Ganesh Viswanathan
aa11f813f2 Added ppflags and noprocess 2017-11-08 02:11:08 -06:00
Ganesh Viswanathan
bbe58407cf Ignore #pragma in preprocessor output 2017-11-07 23:13:16 -06:00
Ganesh Viswanathan
2dc2e865fa Cleanup 2017-11-07 19:14:17 -06:00
Ganesh Viswanathan
777ae910c8 Initial version 2017-11-07 18:14:33 -06:00