Skip to content

windwhiterain/moss-lang

Repository files navigation

The Moss Programming Language

-- Frontend for all DSL --

License: MIT Contributions GPU status

Start Developing

  1. setup Rust developing environment, download Zed, have Python in PATH.

  2. fork and recursively clone this repo.

    git clone https://github.com/<your name>/moss-lang --recursive
    
  3. build the project.

    cargo build
    
  4. run the install script.

    python install.py
    

    you can uninstall by run it with one arbitrary argument

    python install.py u
    

    try run moss in any terminal to check if installed successfully.

    moss
    

    got:

    Moss Lang v0.1.0
    
  5. run Zed from terminal.

    zed --foreground
    
  6. install zed extension in Zed via Extensins/Install Dev Extension.

  7. restart Zed, open example Moss project.

Why Moss?

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.

About

meta language to create DSL frontend

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published