{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools"}],"enrichment":{"capability":"SLY is a pure-Python implementation of lex and yacc for building lexers and parsers using LALR(1) parsing, with no code generation step required.","skillfed_tags":["parser-generator","archived","educational"],"use_cases":["Building a domain-specific language (DSL) interpreter or compiler without external code generation tools.","Parsing configuration files or domain-specific syntax with custom error messages for invalid input.","Educational projects where understanding parser construction and LALR theory is part of the goal.","Prototyping language features or grammar designs before committing to a production parser generator.","Embedding a simple expression evaluator into a Python application."],"what_it_does":"SLY is a pure-Python lexer and parser generator based on the LALR(1) algorithm, designed for building compilers and domain-specific language parsers without requiring a separate code generation step. You define lexer and parser rules as Python classes with decorators, and SLY handles tokenization and syntax analysis directly at runtime.\n\nThe library was originally developed for instructional purposes and emphasizes extensive error reporting to help users identify common mistakes. It supports empty productions, error recovery, precedence rules, and moderately ambiguous grammars. While not optimized for speed due to its Python implementation, it can handle grammars with several hundred rules. However, the project was retired on December 21, 2025, and no further maintenance is planned.","worth_installing":"No\u2014do not install for new projects. The project is formally retired as of December 21, 2025 with no planned maintenance. While the code is stable and license-permissive, the maintainer explicitly recommends considering alternatives. Install only if you are maintaining existing code that already depends on SLY, or if you are willing to fork and maintain it yourself."},"id":"sly","links":{"html":"https://skillfed.io/packages/sly","md":"https://skillfed.io/packages/sly.md","pypi":"https://pypi.org/project/sly/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-10-25","license_spdx":null,"license_treatment":"permissive","name":"sly","python_support":"unspecified","summary":"\"SLY - Sly Lex Yacc\""},"popularity":{"monthly_downloads":5083867,"position":2172,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5"}
