Thanks for the resource Joe, this should definitely make things significantly easier. 

Jon

On Wed, Jun 20, 2012 at 2:51 PM, Joe Doyle Ardent <cedet-devel@ardent.nebcorp.com> wrote:
On Wed, Jun 20, 2012 at 06:41:58PM +0200, David Engster wrote:
>
> - Things will become much easier if there's a free grammar for D out
>   there, meaning that the license under which this grammar is
>   distributed is compatible with the GPL. A first step would then be to
>   port that Grammar to Wisent or Bovine, which are ports of Bison in
>   Emacs Lisp. Otherwise, you would have to start a grammar from scratch,
>   or maybe - if it makes sense - start with the existing grammar for
>   C++ and adapt it for D.
>

       One of the design goals of D is easy parsability (it's not
ambiguous).  Check out these scripts for extracting the grammar from the
source:

http://www.dsource.org/projects/visuald/browser/grammar

(from this discussion:
http://www.digitalmars.com/d/archives/digitalmars/D/EBNF_grammar_for_D_160834.html)


-Joe

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Cedet-devel mailing list
Cedet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel