FreeBSD.software
Home/lang/py311-sly

py311-sly

0.5

Python implementation of the lex & yacc tools

SLY is a 100% Python implementation of the lex and yacc tools commonly used to write parsers and compilers. Parsing is based on the same LALR(1) algorithm used by many yacc tools. SLY provides very extensive error reporting and diagnostic information to assist in parser construction. The original implementation was developed for instructional purposes. As a result, the system tries to identify the most common types of errors made by novice users. SLY provides full support for empty productions, error recovery, precedence specifiers, and moderately ambiguous grammars. SLY uses various Python metaprogramming features to specify lexers and parsers. There are no generated files or extra steps involved.

Origin: lang/py-sly
Category: lang
Size: 312KiB
License: MIT
Maintainer: awoonyaa@gmail.com
Dependencies: 1 packages
Required by: 1 packages
$pkg install py311-sly

Dependencies (1)

Required By (1 packages)

More in lang