/minizinc-playground

MiniZinc playground using WebAssembly

Primary LanguageSvelteMozilla Public License 2.0MPL-2.0

MiniZinc Playground

Write and run MiniZinc models entirely within your browser.

Try it out at https://minizinc.dev/solve.

The playground is a Svelte app which uses the WebAssembly build of MiniZinc to run MiniZinc locally in the browser. The GUI is styled using Bulma and CodeMirror is used for the code editor.

Development

npm ci
npm run dev

Building

npm run build

The playground application will be located in ./dist.

If the application needs to be served from a subdirectory, set the environment variable BASE_PATH to the path when building.