Start from source

Prerequisites

All platforms need Rust and Nodejs installed.

  • Rust: nightly toolchain.
  • Nodejs: 14.18+/16+ required by Vite.

Windows

Windows 10+ is recommended but any Windows that Rust supports is OK.

WebView2 is required by Tauri. It comes with the latest Edge browser.

To run the Makefile toolchain, you need GNU Make from MSYS2 project, either for Msys2(make) or Mingw64(mingw32-make).

Note that if you have a WSL bash.exe in PATH before MSYS2 one, the npm command may fail.

Linux

webkit2gtk is needed. We only support webkit2gtk-4.0 required by Tauri.

macOS

Generally we don't need anything more, but you should ensure there a make.

Clone from source

$ git clone https://github.com/Uni-Gal/Ayaka.git
$ cd Ayaka

Add targets for WebAssembly

$ rustup target add wasm32-unknown-unknown

Test the utilities

$ make test

Run examples

$ # Run Fibonacci2
$ make example-Fibonacci2
$ # Run Orga in GUI
$ make example-Orga-gui

Release build of frontends

$ make release