A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-March/021211.html below:

[Python-Dev] Re: PyChecker 2 (changed subject)

[Python-Dev] Re: PyChecker 2 (changed subject)Neal Norwitz neal@metaslash.com
Fri, 15 Mar 2002 13:27:46 -0500
Jeremy Hylton wrote:
> 
> On Thu, 14 Mar 2002 18:11:26 -0500
>  Guido van Rossum <guido@python.org> wrote:
> > > pychecker2 is a complete rewrite using the stdlib
> > compiler
> > > package.  There are only about 10 warnings generated so
> > far.
> > > One of the goals is to support Jython.  Although,
> > > we have only used CPython so far.
> >
> > Hm, but doesn't the compiler package use the parser
> > module?  Does
> > Jython support the parser module?  I'd be very surprised,
> > since it
> > uses different parsing technology...
> 
> The stdlib compiler package relies on the builtin parser
> module.  It converts the concrete syntax returned by the
> parser module to an AST.  It should be possible to write a
> similar transformer for jython that converts from its
> internal parser representation to the same AST.
> 
> On the other hand, I plan to work on a new AST for the
> compiler builtin to the interpreter.  I expect it will be
> quite similar to the compiler package's AST, but perhaps not
> exactly the same.  It might be better if CPython and Jython
> standardized an AST as part of the 2.3 development cycle.
> Then pychecker2 could use it.

I think this is a great idea!  Let me know if I can help.

Neal



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4