d42 / easyply Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mhordecki/easyply
Helper library for Python's PLY.
This project forked from mhordecki/easyply
Helper library for Python's PLY.
Traceback (most recent call last):
File "main.py", line 4, in <module>
p = Parser()
File "/home/daz/projects/lang/lang/parser.py", line 14, in __init__
easyply.process_all(self)
File "/home/daz/projects/easyply/easyply/__init__.py", line 173, in process_all
for name, wrapper in process_function(func).items():
File "/home/daz/projects/easyply/easyply/__init__.py", line 133, in process_function
ruleset = parse(func.__doc__, fname=func.__name__)
File "/home/daz/projects/easyply/easyply/__init__.py", line 122, in parse
return _parse(defn.strip())
File "/home/daz/projects/easyply/easyply/parser.py", line 201, in parse
rules = split_rules(lexer)
File "/home/daz/projects/easyply/easyply/parser.py", line 164, in split_rules
for token in tokens:
File "/usr/lib/python3.5/site-packages/ply/lex.py", line 419, in next
t = self.token()
File "/usr/lib/python3.5/site-packages/ply/lex.py", line 386, in token
newtok = self.lexerrorf(tok)
File "/home/daz/projects/easyply/easyply/parser.py", line 43, in t_error
raise SyntaxError("ERROR: Unexpected %r '%s'" % (a, a.value[0]))
SyntaxError: ERROR: Unexpected LexToken(error,'%prec UMINUS',1,22) '%'
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.