Giter VIP home page Giter VIP logo

easyply's People

Contributors

d42 avatar furrykef avatar mhordecki avatar

Watchers

 avatar  avatar  avatar

easyply's Issues

unhandled %prec directive

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) '%'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.