Hi Juan,
You need to be more explicit in what you're trying to achieve. What is the
purpose?
For a language to be able to produce code for other languages, it needs
only I/O string capabilities, e.g., all the programming languages today.
You can take a look at self-replication, in particular quine programs:
http://en.wikipedia.org/wiki/Quine_(computing)
Regards,
Júlio.
2011/11/4 Juan Pablo Carbajal <carba...@ifi.uzh.ch>
> On Fri, Nov 4, 2011 at 2:55 PM, Juan Pablo Carbajal <carba...@ifi.uzh.ch>
> wrote:
> > On Fri, Nov 4, 2011 at 2:24 PM, Søren Hauberg <so...@hauberg.org> wrote:
> >> fre, 04 11 2011 kl. 14:07 +0100, skrev Juan Pablo Carbajal:
> >>> Does anybody has functions to generate octave code?
> >>
> >> I don't understand what you mean (I might be missing the obvious,
> >> though). Do you want a function written in the Octave language that
> >> generates a file containing another Octave function?
> >>
> >> Søren
> >>
> >>
> >
> > Yes. As I said it doesn't need to be an Octave function that generates
> > the file. This is clearly string manipulation, and maybe is better to
> > do something extendable in another language.
> >
> >
> > --
> > M. Sc. Juan Pablo Carbajal
> > -----
> > PhD Student
> > University of Zürich
> > http://ailab.ifi.uzh.ch/carbajal/
> >
>
> For example using a DOM representation of an Octave file maybe a good
> option. For that python etree may come handy (or boost in C++, but I
> wouldn't start there).
>
>
> --
> M. Sc. Juan Pablo Carbajal
> -----
> PhD Student
> University of Zürich
> http://ailab.ifi.uzh.ch/carbajal/
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev