Octave to C++ compiler question

David Bateman dbateman at dbateman.org
Mon Jan 5 17:39:38 CST 2009


Ben Abbott wrote:
> On Jan 5, 2009, at 2:43 AM, David Blubaugh wrote:
>
>   
>> To All,
>>
>> I was wondering if there is still any drive to convert Octave source  
>> code to C or C++ ??  There was some development on this endeavor,  
>> but it appears that this effort has been discontinued?  Why???
>>
>> Thanks,
>> David Blubaugh
>>     
>
> Are you speaking of some particular source code file?
>
> The vast majority is c++.
>
> Ben
>
>   

I think the question is for an automatic conversion of m-files to C++... 
Basically creating a tree walker class that we can then build a new 
evaluator for normal operation, instrumented evaluator for the "profile" 
command is needed first. That is also the first step for other such 
things as

* Octave to matlab conversion tree walker
* Octave m-file to C++ compiler
* JIT

which is why I consider the tree walker class a major missing feature.. 
Pity I don't know enough about the parser (at least yet) to do anything 
about it myself..

D.



-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Help-octave mailing list