Re: [Jflex-devel] Google Summer-of-code 2019
The fast lexer generator for Java
Brought to you by:
lsf37,
steve_rowe
From: Régis D. <re...@go...> - 2018-10-26 14:11:31
|
Le mar. 23 oct. 2018 à 00:28, Gerwin Klein <ge...@do...> a écrit : > > * revamp syntax: would also benefit from AST. We’d have to keep support > for the old syntax to not break all lexer specs out there, but it would be > nice to have something much cleaner. Come to think of it, I did have a > front-end tool for jflex and cup, plus AST generator many years ago > (1999ish) with much cleaner syntax, somewhat inspired by ANTLR, but > realised differently (sample file attached). It basically generated jflex > and cup files and a bunch of classes to represent syntax trees. Could be a > starting point for that project. > Thanks for sharing. This looks like Yaml. So I gave it a try and there are some thigs to work around but a JFlex spec in Yaml could look like this: https://gist.github.com/regisd/8fe843800f96177909b190b678ca8637 Have a good weekend > > Cheers, > Gerwin > > > > > On 19.10.2018, at 07:15, Régis Décamps via Jflex-devel < > jfl...@li...> wrote: > > > > Hello Gerwin, > > > > How do you feel about making a proposal for a summer of code project > (hence for next summer, but applications will be until Jan 2019 I assume). > > > > The idea of summer of code (g.co/gsoc) is to offer students an > opportunity to contribute to an open-source project for 3 months and even > get paid by Google in return. > > > > I think we could offer a very nice project, for instance: > > • refactor the code to have an AST. Stretch: produce code from > this AST, rather than with println() > > • support antlr > > • have our own parser generator > > • revamp the syntax of the lexer specification. > > Any other idea? For instance, those were the proposals for gRPC or > proposal for a compiler in open-chemistry > > > > What do you think? > > > > -- > > Régis > > Google Lens > > > > _______________________________________________ > > Jflex-devel mailing list > > Jfl...@li... > > https://lists.sourceforge.net/lists/listinfo/jflex-devel > > -- Régis Google Lens |