Pascal code checker!
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Wed Dec 12 20:18:16 EST 2007
On Wed, 12 Dec 2007 16:53:15 -0600, Tim Chase wrote:
> >> Oof! Fond as I am of promoting pyparsing, writing a Pascal
> >> compiler (or even just syntax checker) is not a job I would tackle
> >> lightly, much less suggest to a new Python developer.
>
> True enough...thus my weeks/months/years estimate for such an
> undertaking :)
>
> But if not mentioned, you know the next question would be "how do I
> create a regular expression to match valid Pascal programs?"
A *one-line* regular expression.
--
Steven
More information about the Python-list
mailing list