re2c
tool for generating fast C-based recognizers
Install
- All systems
-
curl cmd.cat/re2c.sh
- Debian
-
apt-get install re2c
- Ubuntu
-
apt-get install re2c
- Alpine
-
apk add re2c
- Arch Linux
-
pacman -S re2c
- Kali Linux
-
apt-get install re2c
- Fedora
-
dnf install re2c
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install re2c
- OS X
-
brew install re2c
- Raspbian
-
apt-get install re2c
- Dockerfile
- dockerfile.run/re2c
- Docker
-
docker run cmd.cat/re2c re2c
powered by Commando
re2c
tool for generating fast C-based recognizers
re2c is a great tool for writing fast and flexible lexers. Unlike other such tools, re2c concentrates solely on generating efficient code for matching regular expressions. Not only does this singleness make re2c more suitable for a wider variety of applications, it allows one to generate scanners which approach hand-crafted ones in terms of size and speed.