Louis Dubois
c6f2b023f3
chg: Force pickle to use highest protocol
Python2.7 uses protocol 1 by default, which is not compatible with
class defining __slots__. On the other hand, all the Python versions
support versions >= 2.
4 years ago
Louis Dubois
d41e3cdfb9
chg: Force pickle to use highest protocol
Python2.7 uses protocol 1 by default, which is not compatible with
class defining __slots__. On the other hand, all the Python versions
support versions >= 2.
4 years ago
Jonah Yolles-Murphy
b82f7177cb
added test
4 years ago
MegaIng1
51a1c5ceae
Added fix so that staticmethod will be correctly affected by class wide v_args + test
4 years ago
Giuliano Oliveira
1f0b1e7520
added visit_topdown methods to Visitor classes
5 years ago
Erez Shinan
def1d2931c
Fixed partials (Issue #398 )
5 years ago
Erez Shinan
59f3a5707b
Fixed partials (Issue #398 )
5 years ago
Peter Dolak
b89b003cdb
Fix v_args when used on classes with non-callable members
6 years ago
Erez Shinan
2b3fabd01c
Fixed Discard, broken in 0.6.6 (Issue #337 )
6 years ago
Erez Shinan
641fec43ce
@v_args at function level now takes precedent over class level
6 years ago
Alexey Shrub
f604b73a3c
Tree walk tests
6 years ago
Erez Shinan
216c341b06
Fixed v_args handling of staticmethod and classmethod (Issue #246 , #249 )
6 years ago
Erez Shinan
6d76a4ce8d
visitor_args -> v_args
6 years ago
Erez Shinan
6bfc27c11d
New transformers near completion
Nearley tool still needs fixing
6 years ago
Erez Shinan
4864a1cf4d
More work
6 years ago
Erez Shinan
5e546f38a9
args decorators actually work now
6 years ago
Erez Shinan
55e9d56792
Missed those at merge
6 years ago
Ramon Klass
1854b81ebc
interpreter: default behavior changed to return the values instead of discarding them, added test showcasing the behavior
6 years ago
Ramon Klass
f5550b3040
Implemented a new visitor class (Interpreter) that works top-down (PR #130 )
It emulates antlr's visitor behavior for a dynamic evaluation order of subtrees
6 years ago
Erez Shinan
eba4a604cb
Added tests for standalone generator
7 years ago
Erez Shinan
6578742c06
BUGFIX: Undefined symbols (Issue #87 )
7 years ago
Erez Shinan
2f6f3f9a31
Changed to the MIT license
8 years ago
Erez Shinan
cde2b677bb
Added tests and lots of fixes and refactoring
8 years ago