Sign inSign up

mrsuh/bison

By mrsuh

Updated over 3 years ago

Bison is a general-purpose GLR/LALR parser generator

Image
0

323

mrsuh/bison repository overview

What is Bison?

Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables. As an experimental feature, Bison can also generate IELR(1) or canonical LR(1) parser tables. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.

https://www.gnu.org/software/bison

How to use this image

Get version
docker run -it --rm mrsuh/bison bison --version
Generate parser from parser.y file
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp mrsuh/bison bison -o parser.java parser.y

Tag summary

Content type

Image

Digest

sha256:ebdf6d1b5

Size

33.2 MB

Last updated

over 3 years ago

docker pull mrsuh/bison