[Scilab-Dev] Object Orientation

Samuel Gougeon sgougeon at free.fr
Tue Feb 21 22:34:20 CET 2017


Le 21/02/2017 à 22:19, Amanda Osvaldo a écrit :
> 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 is the Abstract Syntax Tree of Scilab to interpret Scilab language
I guess that all rules to parse Scilab codes are now defined there.
https://en.wikipedia.org/wiki/Abstract_syntax_tree

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170221/a49fede9/attachment.htm>


More information about the dev mailing list