BSD Ports

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

SystemPortVersion
FreeBSDlang/py-sly0.5
DragonFlylang/py-sly0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.50.5-0.50.5
FreeBSD:14:quarterly0.50.5n/a0.50.5
FreeBSD:15:latest0.50.5n/a0.50.5
FreeBSD:15:quarterly0.50.5n/an/an/a
FreeBSD:16:latest0.50.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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
FileSizeSHA256
sly-0.5.tar.gz66702251d42015e8507158aec2164f06035df4a82b0314ce6450f457d7125e7649024
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.