help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a command that shows the C-code the interpreter creates?


From: Kai Torben Ohlhus
Subject: Re: Is there a command that shows the C-code the interpreter creates?
Date: Tue, 16 Apr 2019 12:34:41 +0900

On Tue, Apr 16, 2019 at 7:28 AM GoSim <address@hidden> wrote:
A command that shows the C-code the interpreter creates, does such a thing
exist?
I would like to create a m-file compiler for Octave and need this because I
don't want to look at your source code :-)


In general it might be difficult to write an Octave related tool without looking at its source code?!  But if you take a look at https://hg.savannah.gnu.org/hgweb/octave/file/159402e52cfa/libinterp/parse-tree, currently Octave uses flex and bison for parsing m-code.  Thus objects are created and evaluated while parsing, without an intermediate language representation as you seek to find.

HTH,
Kai 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]