lang/py-sly 0.5 FreeBSD
Python implementation of the lex & yacc tools
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- lang, python
- Package size
- 62.4 KiB, 293.9 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/py-sly | 0.5 |
| DragonFly | lang/py-sly | 0.5 |
Install
Binary package:
pkg install py312-sly
From the ports tree:
cd /usr/ports/lang/py-sly/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sly>0:lang/py-sly
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5 | 0.5 | - | 0.5 | 0.5 |
| FreeBSD:14:quarterly | 0.5 | 0.5 | n/a | 0.5 | 0.5 |
| FreeBSD:15:latest | 0.5 | 0.5 | n/a | 0.5 | 0.5 |
| FreeBSD:15:quarterly | 0.5 | 0.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5 | 0.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sly-0.5.tar.gz | 66702 | 251d42015e8507158aec2164f06035df4a82b0314ce6450f457d7125e7649024 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.