cup

LALR parser generator for Java(tm)

Install

All systems
curl cmd.cat/cup.sh
Debian Debian
apt-get install cup
Ubuntu
apt-get install cup
image/svg+xml Kali Linux
apt-get install cup
Windows (WSL2)
sudo apt-get update sudo apt-get install cup
Raspbian
apt-get install cup

cup

LALR parser generator for Java(tm)

CUP is the "Constructor of Useful Parsers", a system for generating parsers from simple LALR specifications. It serves the same role as the widely used program YACC and in fact offers most of the features of YACC. However, CUP is written in Java, uses specifications including embedded Java code, and produces parsers which are implemented in Java.