Re: [gobo-eiffel] An Eiffel to javascript compiler?
Howard Thomson <[email protected]> Thu, 14 Jan 2010 12:42:15 +0000
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have been working on adapting gec to emit code using the LLVM package, and have done some work on splitting ET_C_GENERATOR into an ET_CODE_GENERATOR and descendant classes for C code generation, LLVM assembly code etc. It is still very much work-in-progress, but I will make it available if anyone is interested ... Regards, Howard On Thursday 14 January 2010, Eric Bezault wrote: > Cheng-Chang Wu wrote: > > as an exercise to understand GEC I'd like to write an Eiffel to javascript compiler. > > What is the best way to start such a project? > > You can create a clone of the git project in github. > The master Gobo git repository in github is here: > > http://github.com/gobo-eiffel/gobo > > You can create your own account in github and start > your project as a fork of the Gobo git repository. > > When you have that in place, you can start working > on your project and make your changes available for > others in your github repository. it will then be easy > to merge them to the main Gobo repository. > > Now in the code of gec, there is a class ET_C_GENERATOR > which does the generation of C code. I think that what > you will have to do is to write an ancestor of this > class, say ET_CODE_GENERATOR (or just ET_GENERATOR, I > don't know). Then you can write your own generator > ET_JAVASCRIPT_GENERATOR as another descendant of this > class. > -- Howard Thomson -- "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ gobo-eiffel-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop