Hello Amanda,

Thanks for your help on Scilab. I suggest you to first setup a local git 
repository (checkout, build
locally) [1] and add a simple keyword on the Scilab parser [2].

Then by updating the source code, you will be able to implement the needed 
operations on the "ast"
module as we currently have no bytecode (the execution is performed directly on 
the AST).

[1]: https://wiki.scilab.org/Compilation%20of%20Scilab
[2]: modules/ast/src/cpp/parse/bison/parsescilab.yy

Do not hesitate to ask if you have questions,

--
Clément

Le mercredi 02 novembre 2016 à 09:31 -0200, Amanda a écrit :
> Thanks Samuel, but it's a emulation.
> I would like to implement a real object orientation in the SciLAB core.
> 
> It don't means that SciLAB team needs to approve my patch, but i need 
> information about how to add
> keywords in the SciLAB language and map then into SciLAB bytecode.
> 
> I'm not finding information about the SciLAB architecture.
> 
> On Wed, 2016-11-02 at 12:00 +0100, [email protected] wrote:
> > Send dev mailing list submissions to
> >     [email protected]
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> >     http://lists.scilab.org/mailman/listinfo/dev
> > or, via email, send a message with subject or body 'help' to
> >     [email protected]
> > 
> > You can reach the person managing the list at
> >     [email protected]
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of dev digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. Object Orientation (Amanda)
> >    2. Re: Object Orientation (Samuel Gougeon)
> > 
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Tue, 01 Nov 2016 17:21:22 -0200
> > From: Amanda <[email protected]>
> > To: [email protected]
> > Subject: [Scilab-Dev] Object Orientation
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset="utf-8"
> > 
> > Hi everbody, i'm implementing a simple object orientation in SciLAB
> > with heritage and encapsulation only.
> > 
> > Somebody can tell me if exists another work in progress ?
> > 
> > I have found a message from Simon Lipp, but i'm unable to contact him.
> > 
> > http://mailinglists.scilab.org/Object-orientation-in-Scilab-6-td2610878
> > .html
> > 
> > -- Amanda
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: 
> > <http://lists.scilab.org/pipermail/dev/attachments/20161101/1d2a8fc4/attachment-0001.html>
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Tue, 1 Nov 2016 21:14:50 +0100
> > From: Samuel Gougeon <[email protected]>
> > To: List dedicated to the development of Scilab <[email protected]>
> > Subject: Re: [Scilab-Dev] Object Orientation
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset="windows-1252"; Format="flowed"
> > 
> > Hello Amanda,
> > 
> > Le 01/11/2016 20:21, Amanda a ?crit :
> > > 
> > > Hi everbody, i'm implementing a simple object orientation in SciLAB 
> > > with heritage and encapsulation only.
> > > 
> > > Somebody can tell me if exists another work in progress ?
> > > 
> > > I have found a message from Simon Lipp, but i'm unable to contact him.
> > > 
> > > http://mailinglists.scilab.org/Object-orientation-in-Scilab-6-td2610878.html
> > .
> > On this topic, there was also this thread: 
> > http://mailinglists.scilab.org/SEP-Object-oriented-programming-under-scilab-tt2610065.html
> > The related SEP was uploaded there 
> > <http://gitweb.scilab.org/?p=scilab.git;a=blob;f=SEP/SEP_007_object.odt;hb=HEAD>
> >  
> > on GIT
> > And this wiki page (2011): 
> > https://wiki.scilab.org/Emulate%20Object%20Oriented%20in%20Scilab
> > 
> > Best regards
> > 
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: 
> > <http://lists.scilab.org/pipermail/dev/attachments/20161101/de1e59e8/attachment-0001.html>
> > 
> > ------------------------------
> > 
> > Subject: Digest Footer
> > 
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > http://lists.scilab.org/mailman/listinfo/dev
> > 
> > 
> > ------------------------------
> > 
> > End of dev Digest, Vol 51, Issue 1
> > **********************************
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to