cococs
Coco/R Compiler Generator (C-Sharp Version)
Install
- All systems
-
curl cmd.cat/cococs.sh
- Debian
-
apt-get install coco-cs
- Ubuntu
-
apt-get install coco-cs
- Kali Linux
-
apt-get install coco-cs
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install coco-cs
- Raspbian
-
apt-get install coco-cs
- Dockerfile
- dockerfile.run/cococs
coco-cs
Coco/R Compiler Generator (C-Sharp Version)
Coco/R is a compiler generator, which takes an attributed grammar of a source language and generates a scanner and a parser for this language. The scanner works as a deterministic finite automaton. The parser uses recursive descent. LL(1) conflicts can be resolved by a multi-symbol lookahead or by semantic checks. Thus the class of accepted grammars is LL(k) for an arbitrary k. To start Coco call cococs, which is a shell script in /usr/bin.