[Pyparsing] Java grammar
Brought to you by:
ptmcg
From: Mark L. <bre...@ya...> - 2010-03-04 15:55:28
|
Hi all, Just assume that there is some purely hypothetical raving lunatic who thinks it is a good idea to use pyparsing to convert Java source code into the far purer Python. Rather than reinvent wheels this PHRL hopes to reuse an existing pyparsing Java grammar for the job. Does anybody know of such a beast? Should said beast not exist, would it be possible to grab an existing grammar from the web and convert it using ebnf.py? If no it would not surprise this PHRL as surely the entire concept is simply far to good to be true. If yes, yee hah!!!, but how the hell does this PHRL go about this task? Any and all responses gratefully received. Mark Lawrence. |