A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-September/009509.html below:

[Python-Dev] Python syntax checker ?

[Python-Dev] Python syntax checker ? [Python-Dev] Python syntax checker ?Greg Ward gward@mems-exchange.org
Mon, 25 Sep 2000 12:22:35 -0400
On 25 September 2000, Barry A. Warsaw said:
>     NS> How different are PCCTS and ANTLR?  Perhaps we could use PCCTS
>     NS> for CPython and ANTLR for JPython.
> 
> Unknown.  It would only make sense if the same grammar files could be
> fed to each.  I have no idea whether that's true or not.  If not,
> Greg's idea is worth researching.

PCCTS 1.x grammar files tend to have lots of C code interwoven in them
-- at least for tricky, ill-defined grammars like BibTeX.  ;-)

ANTLR 2.x grammars certainly allow Java code to be woven into them; I
assume you can instead weave C++ or Sather if that's your preference.
Obviously, this would be one problem with having a common grammar for
JPython and CPython.

        Greg



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