[Scilab-Dev] Object Orientation

Amanda Osvaldo lambdasoftware at yahoo.es
Tue Feb 21 22:19:28 CET 2017


Hi, it's very interesting.
I have followed it at sci_macr2tree.c that appears the macr2tree macro.
But i don't understand how sci_macr2tree.c separates the function code
from all SciLAB's memory.I think the SciLAB macro memory it's like a
binary stream without any markers that define where a macro starts or
ends.
Someone, tell me if I'm wrong.
Apropos, what it's te AST module ?It appears a Virtual Machine with a
parser.
-- Amanda
On Tue, 2017-02-21 at 21:49 +0100, Samuel Gougeon wrote:
>     Hi Amanda,
> 
>       
> 
>       Le 21/02/2017 à 19:48, Amanda Osvaldo a écrit :
> 
>     
> 
>     
> >       Hi Clément.
> >       
> > 
> >       
> >       
> >         I'm happy to know the community appreciate the object
> >           oriented approaching in SciLAB.
> >         
> > 
> >         
> >         I want to start with a fake Object Orientation, however,
> >           how I can learn about the SciLAB's bytecodes to implement
> > a
> >           true Object Orientation ?
> >       
> >     
> 
>     
> 
>     You might find the top of the iceberg by editing the macro
> 
>     --> edit tree2code
> 
>     and by analysing the macr2tree() builtin function
> 
>     
> 
>     HTH
> 
>     Samuel
> 
>     
> 
>   
> 
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170221/c2938378/attachment.htm>


More information about the dev mailing list