Re: Netbeans E-Lang language support
"Marcelo D. Ré" <[email protected]> Mon, 26 Aug 2013 12:14:54 -0300
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
El 21/08/13 21:51, Kevin Reid escribió: > On Aug 21, 2013, at 8:53, Marcelo D. Ré <[email protected]> wrote: > >> Now the need to develop in E has returned. Unfortunately the module that I had used is no more supported in Netbeans, so I start again a new project, this time directly in Antlr. >> I get the easy part working (I think), the Lexer but have problem with the Parser. I have rewrite the grammar in Antlr3 and I use Antlrwork1.5 to generate the Lexer/Parser. >> I do not know enough about Antlr son my ".g" file surely has bug. Actually it generate a Parser of about 867kb and it wont compile. > I don't have the spare time to debug your parser for you, but I suggest you try starting with the Antlr grammar in E-on-CL (which, despite the context, compiles to Java). Have a look at > <https://github.com/kpreid/e-on-cl/tree/master/antlr> or clone the git repository. > > This grammar is part of an E implementation with a substantial test suite. It is derived from the Antlr grammar in the E-on-Java distribution but has had a lot of further work. > Well guys... I have uploaded the project to Github. This is the url: https://github.com/mdre/ELang.git The syntax highlight is working. Now I'am working on the parser but will try to do it in ANLTR4. Have a nice day! Marcelo