logo       

[ spirit-Feature Requests-1478720 ] generic parser: external ebnf grammar?: msg#00011

parsers.spirit.devel

Subject: [ spirit-Feature Requests-1478720 ] generic parser: external ebnf grammar?

Feature Requests item #1478720, was opened at 2006-04-28 16:20
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=393389&aid=1478720&group_id=28447

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: generic parser: external ebnf grammar?

Initial Comment:
hi, would it be feasible to use the Spirit Library as a
generic parser by providing an external EBNF grammar
(i.e. as file), so that the corresponding parser is
built at runtime and merely outputs customizable
identifiers for certain keywords, or tokens in general?

We would like to use something like this in an IDE
project, where it may in fact be better to simply
provide an EBNF grammar and a schema that maps each
token to certain output, so that we merely have to take
care of processing the syntax tree, rather than having
to write each parser individually for each language.
Which is quite a task if you intend to support multiple
programming languages.

In other words, I think I am basically suggesting a
runtime configurable parser framework that we can feed
our grammar to and arbitrary "actions" (output that is)
for each token.

What do you think?

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-05-01 12:09

Message:
Logged In: NO

http://sourceforge.net/projects/theptk/

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=393389&aid=1478720&group_id=28447


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise