Re: Is it possible to include autogenerated code fragment into .nice-file?
"Yauheni Akhotnikau" <[email protected]> Sun, 13 Jan 2008 20:59:47 +0300
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Organization | Intervale |
| Message-ID | <[email protected]> |
Thanks for the explanation. However do you plan to add something like C#'s partial classes in Nice (may be in Nice 2.0)? On Sun, 13 Jan 2008 20:16:17 +0300, Daniel Bonniot <[email protected]> wrote: > 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 -- Regards, Yauheni Akhotnikau Senior Programmer Intervale e-mail:[email protected] <mailto:[email protected]> ------------------------------------------------------------------------- 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