Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/erezsh/plyplus
a friendly yet powerful LR-parser written in Python
https://github.com/erezsh/plyplus
bd2e7d37e4a3a80812a13b84584fd885d5a24f4c authored almost 7 years ago by Erez Shinan <[email protected]>
3274f64d27fccf6ab8e41528c405e598481a3e44 authored almost 7 years ago by Erez Shinan <[email protected]>
61056e44f7efe94bf519feae420dd385ae6ca812 authored almost 8 years ago by Erez Shinan <[email protected]>
e648cba9da0b2d93e362e799280cf494f91ecfb9 authored almost 8 years ago by Erez Shinan <[email protected]>
3ae18bb71be3c91567b4e643e318b4b7aafbf4e8 authored almost 8 years ago by Erez Shinan <[email protected]>
0ba94b10c093d16fc5648528eaa80033b72570bd authored almost 8 years ago by Erez Shinan <[email protected]>
958bab340b2fa3db2dee69bbb2a98a1144cde8e4 authored almost 8 years ago by Erez Shinan <[email protected]>
161fc0d312b098fea4a559d3e22b586923b407db authored almost 8 years ago by Erez Shinan <[email protected]>
bd351ca34c45ee19907a9879ec1930f2e0dd978a authored about 8 years ago by Erez Shinan <[email protected]>
0f6189d374cfb62a239da762ee2aa9b420d6199f authored about 8 years ago by Erez Shinan <[email protected]>
3b61585a6ac3ab0b4c17c1664a61da8ffe86c260 authored about 8 years ago by Erez Shinan <[email protected]>
Strings are unicode by default in Python 3 and the unicode constructor is gone.
Support for hand...
The import rules in Python 3 differ from Python 2 and it does not appear to like
this style of i...
a6f435ab29442121e7432d662a9bad100166e3e7 authored about 8 years ago by Erez Shinan <[email protected]>
Mark package as not zip safe
8eed542fab05a7162e55495a812a89dce9295175 authored about 8 years ago by Erez Sh <[email protected]>0d3da028ab11408cffc7ce2453d8ab0ffd74c600 authored about 8 years ago by Paul Logston <[email protected]>
a61b838a36008f2e3d32509b1b723a7a9bdb1bd9 authored over 8 years ago by Erez Shinan <[email protected]>
30b9bb45fe9d87bb3842fbc77a648148df2008dd authored over 8 years ago by Erez Shinan <[email protected]>
a30d8a4524e7c1e492fa7fe65e79a410084f369c authored over 8 years ago by Erez Shinan <[email protected]>
4bdcd9f1255beaf41cbb56d37786c1705a24887a authored over 8 years ago by Erez Shinan <[email protected]>
96963d3d8adf1b9419054b893a2ec246e8533c33 authored over 8 years ago by Erez Shinan <[email protected]>
cce87ffc1d9a519d6bdd1aff96286c8e8dc4bcea authored over 8 years ago by Erez Shinan <[email protected]>
ca76dbd54bf785b45e7414e24497b57943f58cc7 authored over 8 years ago by Erez Shinan <[email protected]>
7cd32425b26cda1c61ead6261c2892c44576d0b0 authored over 8 years ago by Erez Shinan <[email protected]>
079b71a1e7ea9903d09fd82f0ab70f273c773ad0 authored over 8 years ago by Erez Shinan <[email protected]>
ee54774b3b00e97f11c86e796302f2011bc38484 authored over 8 years ago by Erez Shinan <[email protected]>
862413236528cce8ab765cd74dd692984456ee66 authored over 8 years ago by Erez Shinan <[email protected]>
7f9ca5c88a342bf443419b3cd821fcb4b46ad784 authored over 8 years ago by Erez Shinan <[email protected]>
* Refactored PLY specific functions to Engine_PLY
* Added documentation for plyplus options
* Bu...
e2b258221a7a6e197015a76c2c41b7bae09e0b4f authored over 8 years ago by Erez Shinan <[email protected]>
ced9377e6c26dcf308dd9f480411af9c8dbe9c56 authored over 8 years ago by Erez Shinan <[email protected]>
This means their values (line, col, type) are now accessible.
(modifications by Erez)
4c385415ce7098cd7010207c4926f658572c12ff authored over 8 years ago by led02 <[email protected]>Lex/Yacc converter.
573affc85ebf6032df09db7c07f0493516e79cb1 authored almost 9 years ago by Erez Sh <[email protected]>0f6b8d849900e649a9f56378a802c3113eb5bb1a authored about 9 years ago by Piotr Ociepka <[email protected]>
5a4c8cbe6931635924f234a83b3ff8fb3124476d authored over 9 years ago by Erez Shinan <[email protected]>
Use unique temporary directory
2b22f43f8fa7380b80fde5b26acca0c881cf16dc authored over 9 years ago by Erez Sh <[email protected]>f6dc8bf9c9d09532ded920f4d4d82e16f4c44390 authored over 9 years ago by Joshua Ali <[email protected]>
Invalid errorlog being passed to yacc in grammer_parser.py
d6dea1f07b04dfaff8beb461ddd3898d1e8ebcf1 authored over 9 years ago by Erez Sh <[email protected]>
AttributeError: type object 'exceptions.Exception' has no attribute 'warning'
when importing Ply...
2b8d12799f330d0ff74ebb8a6232bf3ea96e8920 authored over 9 years ago by Erez Shinan <[email protected]>
Fix some comment typos in Python grammar.
f9797220be2f85259631d43613f02b7a5f7af4c0 authored over 9 years ago by Erez Sh <[email protected]>d26a9dca6fa3a553a6fc2917e14fb04a37f08f57 authored over 9 years ago by Matthew Fernandez <[email protected]>
the image of the AST was not visible
0430a7b25a9eccf0f34b731fbfe6b3e14aeedceb authored over 9 years ago by Erez Sh <[email protected]>no need for an absolute url
fd7776020b79373498b672abc3a87d51c733b62d authored over 9 years ago by Erez Sh <[email protected]>6fa5490b9bc0109f8d22521ab404b2d60cec36ee authored over 9 years ago by muxator <[email protected]>
569b7a74b0f87bbc696a5c2eb091fc358393b194 authored over 9 years ago by muxator <[email protected]>
519a0880a3e44c23e1d515b6b561202ee82e7497 authored almost 10 years ago by Erez Shinan <[email protected]>
92eeb9142cd521d7c1d7364a990804ea5b859759 authored almost 10 years ago by Erez Shinan <[email protected]>
Typo in python test grammar.
57614ff4d6b69dbfec021d0510ef9b1af5d48fb5 authored almost 10 years ago by Erez Sh <[email protected]>There was a typo.
ba18548ee95696723f95d57a9b28a123a5a52cf7 authored almost 10 years ago by Faul <[email protected]>ee591657b13fbee28d7f791f91ecc3d3ae489b7e authored almost 10 years ago by Erez Shinan <[email protected]>
0464573ea5d357fb9e78b0f2501fc3f31f56b760 authored almost 10 years ago by Erez Shinan <[email protected]>
c4a996fcb7642925566e285527237b790294239a authored almost 10 years ago by Erez Shinan <[email protected]>
Without a logger, important messages might get lost,
and newcomers might get very frustrated!
8477b84f51a098af7411b68d5db8d79ac100e758 authored about 10 years ago by Erez Shinan <[email protected]>
Using rules that are not defined result in a silent error in PLY.
A verification phase allows Pl...
de0d350ca89a32b9fb997470039f3c448db60f94 authored over 10 years ago by Erez Shinan <[email protected]>
04c7cccd6ee038c5ddf26fa0f79601e876eb58ae authored over 10 years ago by Erez Shinan <[email protected]>
TODO: proper tab support
1ec802cab956d73c7d05ed7ead0a77a60562bdbc authored over 10 years ago by Erez Shinan <[email protected]>67938d8cd9b7fcd2be040484ffa9d9981907c0a3 authored over 10 years ago by Erez Shinan <[email protected]>
80c9c4178753dcabad9fd14be8443d3e0feed32e authored almost 11 years ago by Erez Shinan <[email protected]>
edf6730693f1f6fe553094b04ed695697fd9d952 authored almost 11 years ago by Erez Shinan <[email protected]>
41c437be7b30c8ba18ae10bccb1a485d3df2b9be authored almost 11 years ago by Giel van Schijndel <[email protected]>
I.e. since it's an attribute of STree and we remove it from there when
pickling: also restore it...
7620ee88006084922104b944150200620e06939c authored almost 11 years ago by Erez Shinan <[email protected]>
40bb408c8f5200d89d6e7b225e36e75d5e298783 authored almost 11 years ago by Erez Shinan <[email protected]>
45157a1981ca56496e6995083f7dc0741b1b5084 authored about 11 years ago by Erez Shinan <[email protected]>
1e711faa3e30ae53f82ea542f2c1b0f57f53e5d8 authored about 11 years ago by Erez Shin <[email protected]>
8e97ee4ea1d3ddb3338d7812b8c5015ecd277fb6 authored about 11 years ago by Erez Shin <[email protected]>
2153780a42271dbc28c489c167df1db58e02e7d5 authored about 11 years ago by Erez Shin <[email protected]>
e5eb41139eb74ba30f44240ef4a0b73af2ced18e authored about 11 years ago by Erez Shin <[email protected]>
bb8df8ba53937b7095a4d3467b551dcad33a2ef0 authored about 11 years ago by Erez Shin <[email protected]>
45c4b18625519d57d8c22ac44aef503096e90a54 authored about 11 years ago by Erez Shin <[email protected]>
2eaa864ac7221f94f5c42cfcfbd680950fadc086 authored about 11 years ago by Erez Shin <[email protected]>
0ebaa2849cb8010c50651a23fa3d5d2f28fc463d authored over 11 years ago by Erez Shin <[email protected]>
56a395808d4f5f8c6dcbf276a28e5348d934ee09 authored over 11 years ago by Erez Shin <[email protected]>
88c83a366f79d4fb2b21da043107273800343770 authored over 11 years ago by Giel van Schijndel <[email protected]>
From the pickle documentation:
> Object sharing happens when there are multiple references to th...
Pickle by default pickles obj.__dict__, __getstate__ overrules that.
Rather than returning somet...
When creating `Grammar` instance do not assume that just because we've
received a file-like obje...
Verify that a Grammar can be created from file-like objects other than
Python's standard 'file' ...
AST: add test cases, fix bugs, refactor
* More thoroughly document expected AST in form of tes...
a408c7309cd40897c12c9e7f3059bb4c0a499c0f authored over 11 years ago by Giel van Schijndel <[email protected]>
I.e. use the same action when matching a parser-rule with flags (?#@) as
without. Due to previou...
Same solution as 8d4860b5bd (that was for in-place expansion of @rules
and ?rules).
In short: w...
b663f64ae107ab107416e2ae3cfb38ab49ea04e9 authored over 11 years ago by Giel van Schijndel <[email protected]>
Specifically verifies that #rules marked for FLATTENing don't produce
unboundedly deep trees, ca...
Signed-off-by: Giel van Schijndel <[email protected]>
aeeec3e47169d03379079890249a0113ca9d9239 authored over 11 years ago by Giel van Schijndel <[email protected]>Signed-off-by: Giel van Schijndel <[email protected]>
8cc69bebfcb2cb0480ac66d07fe1f4b8637bba11 authored over 11 years ago by Giel van Schijndel <[email protected]>Signed-off-by: Giel van Schijndel <[email protected]>
4d46192344be6baacd3190a3adeb7c3aa3fe6b5c authored over 11 years ago by Giel van Schijndel <[email protected]>BUGFIX: Don't expand1 rules (e.g: ?rule) with multiple children
e64c5ee6f6497a501e3dca0e49cd7cc49fdd1e5d authored over 11 years ago by Erez Sh <[email protected]>
This ensures that EXPAND1 ?rules are never replaced by *multiple*
grand-children of that rule (c...
When using the EXPAND1 (?) operator on a rule you don't expect it to
expand if it contains more ...
Updated tutorial.md
889670b019fadf4940e39223d21e6172d920494e authored over 11 years ago by Erez Sh <[email protected]>Use closures instead of exec and attach location info when we *do* exec()
Doubles parsing per...
3d8147ac2a0ccb09eb7988a2c40523ef85c80512 authored over 11 years ago by Erez Sh <[email protected]>07db2d695d34be81962cfa21acb7f0b50665ec87 authored over 11 years ago by Charles Moyes <[email protected]>
Ensure that both the source filename and line numbers are available and
correct. This permits tr...
Use closures instead because they:
* are parsed before execution: showing syntax errors ASAP
*...
Add test case for bug fixed in 8d4860b5bd
a3712aacb8588080be0a454e29dc4d5baf28121c authored over 11 years ago by Erez Sh <[email protected]>
I.e. this test case verifies that recursive rules marked for expansion
*don't* cause stackoverfl...
Expand recursive @rules in-place to significantly reduce tree-depth
e60cdb06155991d06cd9a48cc467299d557309e8 authored over 11 years ago by Erez Sh <[email protected]>
When running with debug=True PLY uses `repr()` on the produced symbols. STree's `repr`
implement...