neogeny / pygl Goto Github PK
View Code? Open in Web Editor NEWPython Grammar Language
License: GNU General Public License v3.0
Python Grammar Language
License: GNU General Public License v3.0
I just followed instructions (without trying to understand much yet) and I am getting a lot of failures when I run pytest
. Is that expected in this stage of the project?
$ pytest
=============================================================== test session starts ===============================================================
platform darwin -- Python 3.8.0, pytest-5.2.1, py-1.8.0, pluggy-0.13.0
rootdir: /Users/guido/pygl, inifile: tox.ini
plugins: parallel-0.0.9
collected 953 items
test/filepath_test.py ..................................................F.........................................F........................ [ 12%]
......................F.F...........................................F.........F...F..............................F..............F.........F [ 26%]
..................F.F....F..............................F....F.....F.F..F...F..F.....FF..F.F...F....F.......F...F.........F.....F.....F.F.F [ 41%]
....F...F.....FF................FF..F.....F.........F..F....FF.....F......F........F..F.......FF........F..FFF.F....F..F.F........FF....F.. [ 56%]
FF.FF.F........F.FF..F.F....F...F.F.....F.FFFF......F.FF.F.FF..F.F.........FF.....FF.F.FF.F..F......FF...F.F.F..F..F.F...FF.....F.....F.... [ 70%]
...F.................F..........F......FF.FF.F.FF....F..FF.F..F..FF.FF..F..FFFFFFF.FFF....F..F...F..F...F..FF..FFF..FFF.F.F.FFFF.F.FFFF...F [ 85%]
FFF.FFF.FFF.FF.F..F.F.FFFFFFFF..F.FF...F........F.......F.F.F.F.F.FFFF.FFFF.FFFFFFFFF....FFFFFFFFFFFFFFFFFFF..FFF.FFFFFF.FFFFFFFFF.FFFFFFFF [ 99%]
F. [100%]
(Followed by many tracebacks.)
Since Python 3.5 you can mix arbitrary positional arguments with multiple *args , and arbitrary keyword arguments with multiple **kwds.
https://discuss.python.org/t/preparing-for-new-python-parsing/1550/12
Currently the parser retrieves f-strings as a single lexical element.
The current rules are adapted from Grammar/Grammar
, and the rules in the docs are much more precise, and probably parseable by PEG.
Use the ctok interface to the C tokenizer in further experiments.
As part of this, help implement a ctokenize
module that uses ctok
and has the same interface as tokenize
.
(cc @gvanrossum )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.