Files
Diagon/README.md
T
ArthurSonzogni 9a96d11013 Update README.md
2018-01-20 22:13:29 +01:00

593 B

ANTLR Cmake Starter

Description

A ready to use starter project using ANTLR, Cmake and Emscripten.

There are no dependencies. The script /tools/antlr/download_and_patch.sh will download ANTLR and it will be used as a CMake dependency.

Demo

Demo

Instructions


# Download ANTLR.
cd tools/antlr
./download_and_patch.sh
cd ../..

# Build the project
mkdir build
cd build
CC=emcc CXX=em++ cmake ..
make main.js
./src/main

# Test the demo
cd src
./run_web_server.sh
navigate to http://localhost:8080