|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Contibutors for new ObjectMacro targetsHi all,
I am sure that each of you has his preferred object-oriented programming language. Be it C#, Python, Ruby, C++, Scala, OCaml, etc. ObjectMacro has been designed as to make it as easy as possible to target a new language. Also, the whole sablecc.org site and source repository has been setup up to simplify code contributions. So... I am looking for contributors to start working on new targets for ObjectMacro. If you are interested to contribute, please send a message on this list. I'll provide help and guidance as needed to help contributors. I am not a specialist of all these languages, so the deal is: you provide the expertise in the target language and I provide the expertise in ObjectMacro internals. Hopefully, more than one contributor will be interested in specific targets, allowing for mutual help. For indication, the Java target required approximately 500 lines of code (many blank lines, individual imports, method headers, etc.) and less than 300 lines of ObectMacro code. So, it should really be fairly easy to target a new language with little code (and much copy/paste from the Java target code). Thanks in advance! Etienne -- Etienne M. Gagnon, Ph.D. SableCC: http://sablecc.org _______________________________________________ SableCC-Discussion mailing list SableCC-Discussion@... http://lists.sablecc.org/listinfo/sablecc-discussion |
|
|
|
|
|
Re: Contibutors for new ObjectMacro targetsHi Christopher,
SableCC 4 is not ready to work with yet, but ObjectMacro is. It is already being used by SableCC 4. ObjectMacro will be distributed along SableCC 4, and I will encourage its use by SableCC 4 users when they need to generate textual output. It is thus important for ObjectMacro to target the same languages as SableCC 4. Familiarity with ObjectMacro will be essential for adding a new target to SableCC 4. So, I view this first step as a relatively simple one, allowing contributors to get familiar with ObjectMacro and the whole process of target a new language. It will also allow contributors to set up their system to compile SableCC, and learn to work with Mercurial. Have fun! Etienne Christopher Van Kirk wrote: > Is this a round about way of saying that SableCC 4 is ready to work with now? > > Obviously we can help with C# back end. > -- Etienne M. Gagnon, Ph.D. SableCC: http://sablecc.org _______________________________________________ SableCC-Discussion mailing list SableCC-Discussion@... http://lists.sablecc.org/listinfo/sablecc-discussion |
|
|
Re: Contibutors for new ObjectMacro targetsAs you probably already read, I am working on a Scala back-end for ObjectMacro. I already have an objectmacro file that allows to generate Scala code with ObjectMacro (since this night...) but it is not tested yet (I also need to sleep sometimes). However it looks really good (and the generated Scala code compiles). I integrated the new target in ObjectMacro (--trarget=scala) as well as the generated macro classes (Java). I do not know how this contribution can be then integrated (when it will be tested), to allow other interested persons to access it (a new branch ? I am not really familiar with mercurial so I have to learn more about it). If somebody is interested in contributing to a Scala back-end, I can share my current job. @Etienne: how did you plan to integrate these contributions into the project ? Do we have to share it ourself ? Lucas Etienne M. Gagnon schrieb: Hi all, I am sure that each of you has his preferred object-oriented programming language. Be it C#, Python, Ruby, C++, Scala, OCaml, etc. ObjectMacro has been designed as to make it as easy as possible to target a new language. Also, the whole sablecc.org site and source repository has been setup up to simplify code contributions. So... I am looking for contributors to start working on new targets for ObjectMacro. If you are interested to contribute, please send a message on this list. I'll provide help and guidance as needed to help contributors. I am not a specialist of all these languages, so the deal is: you provide the expertise in the target language and I provide the expertise in ObjectMacro internals. Hopefully, more than one contributor will be interested in specific targets, allowing for mutual help. For indication, the Java target required approximately 500 lines of code (many blank lines, individual imports, method headers, etc.) and less than 300 lines of ObectMacro code. So, it should really be fairly easy to target a new language with little code (and much copy/paste from the Java target code). Thanks in advance! Etienne _______________________________________________ SableCC-Discussion mailing list SableCC-Discussion@... http://lists.sablecc.org/listinfo/sablecc-discussion |
|
|
Re: Contibutors for new ObjectMacro targetsHi Lucas,
My intent is to integrate contributed targets within ObjectMacro (and SableCC), so that they work out-of-the-box for users. As you noticed, the process of adding a new target is quite painless. As for the process of contributing code, please read http://sablecc.org/wiki/ContributingCode . It should be easy enough to follow the instructions. Have fun! Etienne Lucas Satabin wrote: > As you probably already read, I am working on a Scala back-end for > ObjectMacro. I already have an objectmacro file that allows to > generate Scala code with ObjectMacro (since this night...) but it is > not tested yet (I also need to sleep sometimes). However it looks > really good (and the generated Scala code compiles). I integrated the > new target in ObjectMacro (--trarget=scala) as well as the generated > macro classes (Java). I do not know how this contribution can be then > integrated (when it will be tested), to allow other interested persons > to access it (a new branch ? I am not really familiar with mercurial > so I have to learn more about it). > If somebody is interested in contributing to a Scala back-end, I can > share my current job. > > @Etienne: how did you plan to integrate these contributions into the > project ? Do we have to share it ourself ? SableCC: http://sablecc.org _______________________________________________ SableCC-Discussion mailing list SableCC-Discussion@... http://lists.sablecc.org/listinfo/sablecc-discussion |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |