Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Programmer parser/ Parser generator #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Varriount opened this issue Mar 13, 2013 · 3 comments
Closed

Programmer parser/ Parser generator #166

Varriount opened this issue Mar 13, 2013 · 3 comments

Comments

@Varriount
Copy link

A parser generator should be created to replace the current hand built parser. This will allow easier development of the mypy syntax, and language testability.

@Varriount
Copy link
Author

Currently I am about halfway done writing a parser for mypy. At this point in time, it can process a set of rules written in python, and match those rules to a list of tokens. I am currently working on the tokenization part of the parser (up until now, I've been using hard-coded lists of tokens to test code).
The end goal is to be able to read in a ebnf-formatted grammar file, and output optimized parsing code that can be used to read the mypy files.

@gvanrossum
Copy link
Member

Looks like this never led to anything, so closing. Note that @ddfisher is working on making mypy use a (modified version of) the Python ast module, for speed.

@ddfisher
Copy link
Collaborator

ddfisher commented Apr 8, 2016

See #1353

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants