Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EBNF support #50

Closed
zaach opened this issue Jun 17, 2011 · 7 comments
Closed

EBNF support #50

zaach opened this issue Jun 17, 2011 · 7 comments

Comments

@zaach
Copy link
Owner

zaach commented Jun 17, 2011

We could convert EBNF grammars to BNF. For this, we need an EBNF parser, a JSON representation, and a translation algoritm to convert the EBNF JSON to BNF JSON.

@ligfx
Copy link

ligfx commented Jan 10, 2012

How's this going?

If you're interested, I've implemented a EBNF JSON to BNF JSON translator at https://gist.github.com/1591733, using rules from http://lamp.epfl.ch/teaching/archive/compilation-ssc/2000/part4/parsing/node3.html

@zaach
Copy link
Owner Author

zaach commented Jan 12, 2012

Very nice -- this is pretty much what I had in mind. I'll work on integrating it this weekend. Thanks!

@zaach
Copy link
Owner Author

zaach commented Jan 16, 2012

The latest master now has EBNF support. It'll show up on npm in the next version of jison (probably 0.3).

@zaach zaach closed this as completed Jan 16, 2012
@ligfx
Copy link

ligfx commented Jan 17, 2012

Awesome!

On Mon, Jan 16, 2012 at 2:50 PM, Zach Carter <
reply@reply.github.com

wrote:

The latest master now has EBNF support. It'll show up on npm in the next
version of jison (probably 0.3).


Reply to this email directly or view it on GitHub:
#50 (comment)

@retif
Copy link

retif commented Sep 19, 2012

hey zaach, i am so glad to find this page! i was afraid that EBNF is not supported, because it is not mentioned here
http://zaach.github.com/jison/docs/#parsing-algorithms

please update that section :) and thank you for this awesome library!

@zaach
Copy link
Owner Author

zaach commented Sep 25, 2012

It's not quite a parsing algorithm, but I'll make a note, thanks.

@techtonik
Copy link

Yes. I can't figure out how to use EBNF in .jison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants