EBNF for gosu

61 views
Skip to first unread message

Sławomir Śledź

unread,
Mar 21, 2013, 6:19:52 AM3/21/13
to gosu...@googlegroups.com
Hello,

Is there any compact document about EBNF for gosu language?

Vyktur with a Y

unread,
Mar 21, 2013, 11:50:33 AM3/21/13
to gosu-lang
Hello,

Gosu is not a context-free language; therefore, there is no EBNF. Sorry about that, friend.


On Thu, Mar 21, 2013 at 3:19 AM, Sławomir Śledź <slawomi...@gmail.com> wrote:
Hello,

Is there any compact document about EBNF for gosu language?

--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gosu-lang+...@googlegroups.com.
To post to this group, send email to gosu...@googlegroups.com.
Visit this group at http://groups.google.com/group/gosu-lang?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Luca Boasso

unread,
Mar 21, 2013, 12:10:48 PM3/21/13
to gosu...@googlegroups.com
I'm currently working on the Gosu EBNF.
There are few things that are not context free in Gosu and I found
tricks to solve most the issues
I'm currently using ANTLR to validate the grammar by parsing, with the
generated parser, 50k+ real world Gosu files.
Once I'm pretty confident with the result I'll publish the grammar :)

Cheers

Luca

Luke

unread,
Apr 22, 2013, 5:53:26 PM4/22/13
to gosu...@googlegroups.com
Hi Sławomir,
I completed my work on the EBNF grammar. Now I have a working ANTLR v3 grammar able to parse approximately 16K files in 16 seconds.

I was thinking to update the documentation and provide the EBNF grammar once we release a new version of the plugin as we
are still adding features to the language.
Do you have any particular need for the grammar on the short term?
Could you explain me what will be the intended use?


Thanks

Luca
Reply all
Reply to author
Forward
0 new messages