-
setup Rust developing environment, download Zed, have Python in PATH.
-
fork and recursively clone this repo.
git clone https://github.com/<your name>/moss-lang --recursive -
build the project.
cargo build -
run the install script.
python install.pyyou can uninstall by run it with one arbitrary argument
python install.py utry run
mossin any terminal to check if installed successfully.mossgot:
Moss Lang v0.1.0 -
run Zed from terminal.
zed --foreground -
install zed extension in Zed via
Extensins/Install Dev Extension. -
restart Zed, open example Moss project.
In this AI era, countless GPU computing DSL (domain specific lanuage) has came into been. However, most of them use python or C++ as frontend, which is hard to tailerd for DSL usage.
Moss lang aims to provide a mordern language frontend which is easy to JIT (generate code during execution) or AOT (generate code before execution) any DSL code with corresponding integration.