Joey Yakimowich-Payne
685081b6a9
Modify removeStatic to comment out body, then re-comment
2018-07-11 13:36:45 +09:00
Joey Yakimowich-Payne
14b119f433
Move remove static and reset after processing
2018-07-11 07:36:40 +09:00
Joey Yakimowich-Payne
0d0506675c
Make static bodies replacement use regex
2018-07-10 20:19:51 +09:00
Joey Yakimowich-Payne
b32d39ad08
Add preliminary support for removing static funcs
2018-07-10 08:41:06 +09:00
genotrance
84894bfa0c
Merge pull request #4 from jyapayne/configurable_compiler
...
Add configurable compiler to global section
2018-07-09 15:40:33 -05:00
Ganesh Viswanathan
b894dbd17a
Allow ppflags and related to be OS specific
2018-07-09 14:02:38 -05:00
Joey Yakimowich-Payne
8e8e5fbd09
Change consts to camel case for nep1
2018-07-09 09:52:23 +09:00
Joey Yakimowich-Payne
17e54d3b87
Make c/cpp compiler priority .cfg > CC/CXX > gcc/g++
2018-07-09 09:16:44 +09:00
Ganesh Viswanathan
60d94e9114
Fix for absolute paths in includes and headers
2018-07-08 19:11:41 -05:00
Ganesh Viswanathan
c846bf106a
Fixes to work with all wrappers
2018-07-08 16:01:54 -05:00
Joey Yakimowich-Payne
512cdd3a9f
Add check for absolute directories
2018-07-08 22:56:36 +09:00
Joey Yakimowich-Payne
15d417d2c5
Remove dir sep from replace
2018-07-08 22:50:34 +09:00
Joey Yakimowich-Payne
4c45a5f5b2
Combine passC and absolute imports
2018-07-08 22:43:17 +09:00
Joey Yakimowich-Payne
2fc12b8577
Only include necessary file for include libs
...
The previous behavior caused a "Too many files open" error when
referrencing lots of libs because of the call to "gorge". This
modification retains the old behavior and also works if the library is
compiled locally.
Fixes #12
2018-07-08 12:39:27 +09:00
Joey Yakimowich-Payne
467d0c4eae
Add ability to use environment vars
2018-07-08 12:08:43 +09:00
Joey Yakimowich-Payne
bfd9e50652
Merge remote-tracking branch 'upstream/master' into configurable_compiler
2018-07-08 10:59:49 +09:00
Ganesh Viswanathan
a0369758af
Support 0.17.0 onwards, fix IOError
2018-07-07 16:57:23 -05:00
Ganesh Viswanathan
bb881a2e65
Fix IOErrors
2018-07-07 15:03:14 -05:00
genotrance
1b645dd5b2
Merge pull request #6 from jyapayne/add_execute_for_files
...
Add support for executing a command on a file.
2018-07-07 14:30:21 -05:00
Joey Yakimowich-Payne
a7edd8525d
Rename execute to pipe
2018-06-27 22:22:38 +09:00
genotrance
d943f117c4
Merge pull request #5 from jyapayne/allow_deeper_output
...
Allow for deeper than one directory paths for the output directory
2018-06-23 19:23:33 -05:00
Joey Yakimowich-Payne
4a83f6d5a1
Fix issue if cfg file is local gProject dir will be an empty string
2018-06-24 08:21:50 +09:00
Joey Yakimowich-Payne
2f2b26d269
Change project dir based on nimgen cfg file
2018-06-24 07:50:47 +09:00
Ganesh Viswanathan
88a57e5452
Fix #2 - ctags not working
2018-06-23 12:08:48 -05: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
Joey Yakimowich-Payne
71699332be
Allow for deeper than one directory paths
2018-06-16 15:22:16 +09:00
Joey Yakimowich-Payne
0f73ad6d3f
Add configurable compiler to global section
2018-06-14 17:13:46 +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