Backus–Naur Forms for VISL-CG3?

19 views
Skip to first unread message

Maxime Lefrançois

unread,
Oct 3, 2011, 11:56:35 AM10/3/11
to constrain...@googlegroups.com
Dear Tino Didriksen,

I'd be very interested in using a Backus–Naur Form of the syntax of the VISL-CG3 grammars / dictionary files, to automatically compile a new compiler, to propose a SemanticWeb-based representation of the grammars and dictionary. Would it be possible to you to make such a BNF available ?

Kind regards,
Maxime Lefrançois
Ph.D. Student, INRIA - EPI EDELWEISS

http://maxime-lefrancois.info
@Max_Lefrancois

Tino Didriksen

unread,
Oct 12, 2011, 9:12:07 AM10/12/11
to Constraint Grammar
On Oct 3, 5:56 pm, Maxime Lefrançois <maxime.lefrancois...@gmail.com>
wrote:
> I'd be very interested in using a Backus–Naur Form of the syntax of the
> VISL-CG3 grammars / dictionary files, to automatically compile a new
> compiler, to propose a SemanticWeb-based representation of the grammars and
> dictionary. Would it be possible to you to make such a BNF available ?

Well, one doesn't exist currently, so I would have to make one.

I've looked at various BNF flavours, and they all seem rather messy
with regards to Unicode. So far, http://devincook.com/GOLDParser/
seems best, but still not very good.

Do you have any recommendation for BNF flavour that has tools for
testing grammar / generating parsers and can handle Unicode?

-- Tino Didriksen
CG-3 Developer

Maxime Lefrançois

unread,
Oct 12, 2011, 11:24:44 AM10/12/11
to constrain...@googlegroups.com

I guess using the EBNF would be best, the code will be much less lenghty than with BNF.

I found out that ANTLR, http://www.antlr.org, is highly recommanded
ANTLR can be used with ANLTRWorks (a GUI) or with addons for eclipse of netbeans
ANTLR support Unicode, but the files saved with the ANLTRWorks are in the ANSI format. I don't know about eclipse or Netbeans addons
Reply all
Reply to author
Forward
0 new messages