On-the-fly parsers with Spark?

M

Magnus Lie Hetland

I'm working on a project where I have to create parsers on the fly,
based on input to my program. I think Spark [1] seems like a good
candidate for the parser generation part, but it seems very geared
toward hard-coded parsers.

I could, I suppose, set the docstrings of the objects to contain the
generated grammars, but that seems sort of like a misuse. Does anyone
have any experience with "manually" constructing parsers with Spark,
i.e. creating grammars on the fly and constructing parsers from them?

[1] http://pages.cpsc.ucalgary.ca/~aycock/spark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,468
Latest member
Fannie44U3

Latest Threads

Top