How to Install and Uninstall python39-sly Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "python39-sly" package

This guide let you learn how to install python39-sly on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python39-sly

2. Uninstall "python39-sly" package

Please follow the guidance below to uninstall python39-sly on openSuSE Tumbleweed:

$ sudo zypper remove python39-sly

3. Information about the python39-sly package on openSuSE Tumbleweed

Information for package python39-sly:
-------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python39-sly
Version : 0.5-1.6
Arch : noarch
Vendor : openSUSE
Installed Size : 221.5 KiB
Installed : No
Status : not installed
Source package : python-sly-0.5-1.6.src
Upstream URL : https://github.com/dabeaz/sly
Summary : Python implementation of the lex and yacc tools
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. Here are a few notable features:
* 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. You simply write Python code and run it.
* SLY can be used to build parsers for "real" programming languages. Although it is not ultra-fast due to its Python implementation, SLY can be used to parse grammars consisting of several hundred rules (as might be found for a language like C).