Judd Storrs wrote:
> On Fri, May 7, 2010 at 3:38 PM, Alois Schlögl <[email protected]> 
> wrote:
>> -  while ninner++ < maxinner
>> +  while ninner < maxinner
>> +    ninner = ninner + 1;
> 
> If this is a problem that oct2mat cannot handle, possibly the octave
> language is just ill-suited to simple awk-based transformations?
> 
> If we stick strictly to m-files and ignore dependencies on oct-files,
> perhaps the best approach is to use the octave parser itself to read
> the files, make whatever transformations are necessary, and then write
> them back out? An octave->matlab converter should be a good first step
> someone could build on to implement an octave compiler.
> 
> 
> --judd


Technically, having a sophisticated parser would be an improvement over 
an awk-based transformation. However, if there is no agreement that 
having "free toolboxes for matlab" is a worthwhile goal, it would expect 
similar opposition than trying to make the source code compatible.
The latter would be much easier to realize than using a parser, I think.

-- Alois

------------------------------------------------------------------------------

_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to