A docker image based in Alpine for ANTLR4, inspired by the official image.
docker pull alvarofpp/antlr4
Generate files from your grammar:
docker run --rm -u $(id -u) -v $(pwd):/work alvarofpp/antlr4 antlr -Dlanguage=Java Expr.g4
Compile:
docker run --rm -u $(id -u) -v $(pwd):/work alvarofpp/antlr4 javac src/Expr*.java
View using the GUI:
docker run --rm -u $(id -u) -v $(pwd)/src:/work alvarofpp/antlr4 grun Expr prog -gui
Content type
Image
Digest
sha256:40d86408c…
Size
158.5 MB
Last updated
over 2 years ago
docker pull alvarofpp/antlr4