Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lexer.py Trim whitespace Jun 19, 2017
rd_parser_bnf.py Trim whitespace Jun 19, 2017
rd_parser_ebnf.py Trim whitespace Jun 19, 2017
rd_parser_infix_expr.py Trim whitespace Jun 19, 2017
readme.txt
test_rd_parser.py

readme.txt

lexer.py:
  A generic Lexer class useful for tokenizing strings.

rd_parser_bnf.py:
  A naive recursive descent parser implementation based
  on a BNF grammar. It suffers from an operator associativity
  problem.

rd_parser_ebnf.py:
  A more sophisticated RD parser based on an EBNF grammar
  and without the associativity problem. It also supports
  much more operations.

rd_parser_infix_expr.py
  A hybrid RD parser combined with an infix expression
  evaluator for the expressions.

test_rd_parser.py
  Unit-tests for the parser. Can be used to check the
  correctness of parsers supporting the grammar defined
  in rd_parser_ebnf.py
You can’t perform that action at this time.