Skip to content

danzou1ge6/helo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helo —— My Toy Language

For detailed introduction to Helo and examples, refer to Github Pages here.

Building

Because of unstable features applied, nightly channel is required to build Helo. After installing nightly channel toolchain, set toolchain override of this repository by

rustup override set nightly

CLI

The binary name is called heloc and helo_vm, located under crate crates/helo_bin. To build them, run

cd crates/helo_wasm
cargo build --bin heloc --features terminal_size
cargo build --bin helo_vm

Web UI

To compile the web pages hosted on Github Pages, wasm-pack and Node.js 20 is required

cargo install wasm-pack
cargo install wasm-opt  # will be automatically downloaded by `wasm-pack`

Then WASM artifects can be compiled with

cd crates/helo_wasm
./build.sh

The web pages are written with Quasar Framework. It can be built with

cd web
yarn  # Install dependencies
yarn quasar build

About

My Toy Language with Functional Features

Resources

Stars

Watchers

Forks