How to Install and Uninstall kelbt Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "kelbt" package

Here is a brief guide to show you how to install kelbt on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install kelbt

2. Uninstall "kelbt" package

Please follow the steps below to uninstall kelbt on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove kelbt $ sudo apt autoclean && sudo apt autoremove

3. Information about the kelbt package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: kelbt
Priority: extra
Section: universe/devel
Installed-Size: 375
Maintainer: Ubuntu Developers
Original-Maintainer: Robert Lemmen
Architecture: amd64
Version: 0.15-1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0)
Filename: pool/universe/k/kelbt/kelbt_0.15-1_amd64.deb
Size: 112018
MD5sum: 4533a6cf476e15e8e9721af97fdd8326
SHA1: 5e02d84c5d0b9265853325b07477e8b942647b5f
SHA256: 25bf9e3a85247a3b4ea2b545bc88560d0b403dccf855592920aff279976490a8
Description-en: backtracking LR parser generator
Kelbt generates backtracking LALR(1) parsers. Standard LALR(1) parser
generators emit an error upon encountering a conflict in the parse tables.
Kelbt forges onward, generating parsers which handle conflicts by backtracking
at runtime. Kelbt is able to generate a parser for any context-free grammar and
therefore implements a generalized parsing method.
.
Kelbt is different from other backtracking LR systems in two ways. First, it
elevates backtracking to the level of semantic actions by introducing a class
of actions called undo actions. Undo actions are invoked as the backtracker
undoes parsing and allow the user to revert any side effects of forward
semantic actions. This makes it possible to backtrack over language constructs
which must modify global state in preparation for handling context
dependencies.
.
Second, Kelbt enables a user-controlled parsing strategy which approximates
that of generalized recursive-descent parsing with ordered choice. This makes
it easy for the user to resolve language ambiguities by ordering the grammar
productions of a non-terminal according to precedence. It is approximate in the
sense that for most grammars the equivalent of an ordered choice parsing
strategy is achieved. In cases where productions are parsed out of the order
given, there is a simple grammar transformation which remedies the problem.
.
As a proof of concept, Kelbt has been used to write a partial C++ parser
(included) which is composed of strictly a scanner, a name lookup stage and a
grammar with standard semantic actions and semantic undo actions.
Description-md5: d98e181ad0a61b1bdd10581cebf7ec85
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu