Closed Wiguwbe closed 1 year ago
(I guess I should've started with this)
Let me also congratulate you on this amazing piece of software,
for a while that I've been looking for a "higher level" C compiler, with struct methods and templates, and this project, specially with the code generation to C, is very helpful in starting to port (or implement new features on) C code bases.
Anyway, let me know if you'd like a change or two here :)
This is great, thank you so much for contributing!
With a publicly exposed configuration file (in this case
src/config.lita
), one is able to set the defaults of some of the command line parameters, namely theLITAC_HOME
environment variable and-buildCmd
. It was also added parameters for the output and output directory.The README was updated accordingly.
There was also a small change to have a default LITAC_HOME variable set on build.sh (which could/should be replicated to the
.bat
scripts).With a file having some of the compiler configuration easily exposed (that can even be procedurally generated), I believe integrating a build system should be easier.