WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

Can I compile script make binary file? not script string in source code. #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

if I want use it at my projects(c language), how I do?
I can't found documents about it.

Original issue reported on code.google.com by angl...@msn.com on 14 Jan 2013 at 2:45

GoogleCodeExporter commented 9 years ago
nullc doesn't generate standalone binary files that could be linked into a 
project without the use of nullc compiler inside of it. You can pre-compile 
nullc code into a nullc binary module using nullcCompile and nullcGetBytecode, 
but you will still need to include nullc compiler in your project and load it 
using the nullcLoadModuleByBinary function.

One exception is the translation of nullc code to C++ available in version 0.8 
(NULLC_ENABLE_C_TRANSLATION) that generates files that could be compiled and 
linked into a library or an executable using gcc, but they have a dependency on 
stdc++ library. Also note that this feature is not supported in the latest 
version.

Original comment by Where...@gmail.com on 17 Jan 2013 at 7:57