{"id":48735942,"url":"https://github.com/windwhiterain/moss-lang","last_synced_at":"2026-04-12T04:02:17.423Z","repository":{"id":333059304,"uuid":"1128699837","full_name":"windwhiterain/moss-lang","owner":"windwhiterain","description":"meta language to create DSL frontend ","archived":false,"fork":false,"pushed_at":"2026-04-07T05:31:38.000Z","size":637,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-07T07:21:55.524Z","etag":null,"topics":["dsl","gpu-computing","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windwhiterain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-06T03:03:50.000Z","updated_at":"2026-04-07T05:31:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/windwhiterain/moss-lang","commit_stats":null,"previous_names":["windwhiterain/moss-lang"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/windwhiterain/moss-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwhiterain%2Fmoss-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwhiterain%2Fmoss-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwhiterain%2Fmoss-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwhiterain%2Fmoss-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windwhiterain","download_url":"https://codeload.github.com/windwhiterain/moss-lang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwhiterain%2Fmoss-lang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31703501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dsl","gpu-computing","programming-language"],"created_at":"2026-04-12T04:02:16.858Z","updated_at":"2026-04-12T04:02:17.416Z","avatar_url":"https://github.com/windwhiterain.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = \"center\"\u003e\n\u003cimg src=\"logo.svg\" width=\"200\"\u003e\n\n# The Moss Programming Language\n\n*meta-language to create DSL front-end*\n\n![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg) ![Contributions](https://img.shields.io/badge/contributions-welcome-brightgreen) ![GPU](https://img.shields.io/badge/domain-GPU%20Computing-yellowgreen) ![status](https://img.shields.io/badge/status-prototype-red)\n\n\u003c/div\u003e\n\n## Why moss\nMost DSL (domain specific language) like [nvidia-warp](https://nvidia.github.io/warp/), [tile-lang](https://github.com/tile-ai/tilelang), use Python as front-end. However, Python as DSL front-end suffers from:\n\n- **raw source code extraction and re-parsing**: which makes the function feature in python use-less.\n- **ordinary diagnostic ability**: while DSL can have very arbitary diagnostic need like dependant-type checking. \n\nMoss-lang aims to be a meta-language to create DSL front-end with very advanced features, providing easy integration for JIT/AOT backend.\n\n## Features\n- **language-server is interpreter, diagnostic is error value**\n  \n    as long as you want language-server to report an error, just return an error value.\n- **pure DAG (acyclic dependency graph) form**\n    \n    backend directly get a DAG with fully resolved symbols.\n- **first-class function, closure, higher-order function**\n\n    wich can create function template easily.\n- **parallel diagnosing/interpreting in mutual-recursive module level**\n\n    module is just a parallel hint, no cyclic dependency hell.\n- **fine‑grained field dependency tracking**\n\n    depending a field of a struct is not depending on the whole struct.\n\n## Start Developing\n0. setup [Rust](https://rust-lang.org/learn/get-started/) developing environment, download [Zed](https://zed.dev/) and have it in PATH, have [Python]() in PATH.\n1. clone this repo.\n\n    ```\n    git clone https://github.com/windwhiterain/moss-lang --recursive\n    ```\n2. debug build the project.\n    ```\n    cargo build\n    ```\n3. run the [install script](install.py).\n    ```\n    python install.py\n    ```\n    \u003e you can uninstall by run it with one arbitrary argument\n    \u003e ```\n    \u003e python install.py u\n    \u003e ```\n    try run `moss` in any terminal to check if installed successfully.\n    ```\n    moss\n    ```\n    got:\n    ```\n    Moss Lang v0.1.0\n    ```\n4. run Zed from terminal.\n    ```\n    zed --foreground\n    ```\n5. install [zed extension](zed-extension) in Zed via `Extensins/Install Dev Extension`.\n6. restart Zed, open [example Moss project](language_example/_), diagnostics and inlay-hint should appear. \n7. open more project inside [example Moss projects](language_example), note that a moss project is a folder with a `src` sub-folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindwhiterain%2Fmoss-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindwhiterain%2Fmoss-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindwhiterain%2Fmoss-lang/lists"}