Re: Is it possible to include autogenerated code fragment into .nice-file?

"Daniel Bonniot" <[email protected]> Sun, 13 Jan 2008 18:16:17 +0100
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Hi,

On Jan 11, 2008 12:51 PM, Yauheni Akhotnikau <[email protected]> wrote:
> Let imagine that there is a tool which takes some specification and
> generates some Nice code (something like IDL compilers or ASN.1
> compilers). Is there a method for include such auto generated code into
> .nice source file.

This is not specifically handled by the nice compiler. However, you
could perfectly use a preprocessor (for instance cpp, so that you
would have the same syntax as in C++), and create a script that calls
cpp before nicec.

Cheers,

Daniel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace