Add Dust programming language by cemreefe · Pull Request #7998 · github-linguist/linguist · GitHub
Skip to content

Add Dust programming language#7998

Draft
cemreefe wants to merge 1 commit into
github-linguist:mainfrom
cemreefe:add-dust-language
Draft

Add Dust programming language#7998
cemreefe wants to merge 1 commit into
github-linguist:mainfrom
cemreefe:add-dust-language

Conversation

@cemreefe

Copy link
Copy Markdown

Add Dust

Dust is a source-to-source transpiler that compiles to Rust. It offers Python-influenced syntax with indentation-based blocks and smart ownership defaults, producing valid Rust source.

Key features:

  • Indentation-based blocks (no {})
  • Auto-borrows string params (str&str)
  • Expression string interpolation: "{expr}"
  • Inferred mutability via let/mut
  • File extension: .dust

Metrics vs equivalent Rust: consistently 18–30% fewer lines, characters, and tokens across real programs.

Repository: https://github.com/cemreefe/dust

Note: This is a draft PR. The 200+ repositories requirement is not yet met, but submitting early to establish the entry and gather feedback.

Color: #e8621a (matches the project logo)

Grammar: No TextMate grammar yet — tm_scope: none for now. A grammar will be added before requesting merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant