[Research / Language Design] Proposal — Lumos Language: a pragmatic, modular polyglot adapter platform (practical roadmap) #77
Uchida16104
started this conversation in
Ideas
Replies: 1 comment
-
|
Approved and converted to issue #78 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Title:
[Research / Language Design] Proposal — Lumos Language: a pragmatic, modular polyglot adapter platform (practical roadmap)
Short summary
Propose Lumos — not a magic single language that instantly is every other language, but a practical platform and minimal-impact toolchain that lets teams incrementally achieve deep interop with many ecosystems (Laravel, Next.js, Tailwind, PostgreSQL, Rust, Python, F*, Dafny, WASM, etc.). Lumos focuses on minimal changes to existing code, a common intermediate representation (IR), and a rich plugin/adapter system so you can compile / generate / bind to target technologies while maintaining safety, verification and developer ergonomics.
Problem statement
The idea “one language that fully implements every language, framework and toolset with every feature” is desirable but technically impossible to deliver in one shot. Two real problems follow:
We need a pragmatic, incremental plan that preserves existing code, adds value quickly, and is maintainable.
Proposed idea
Build Lumos as a modular polyglot adapter platform with three core pillars:
Canonical IR + small surface language (Lumos-DSL)
@export,@ffi,@verify,@db-model).Backend plugin/adapter architecture
Verification & toolchain integration
Incremental adoption strategy
Developer experience
lumos init,lumos compile --target rust,lumos verify), language server (IDE hints), and CI actions for macOS/Ubuntu builds.Phased roadmap (practical, minimal-change focused)
Phase 0 — Specification & MVP (1–2 months)
Phase 1 — Core backends (2–4 months)
Phase 2 — Framework connectors & verification (3–6 months)
Phase 3 — Expand targets & robustness (ongoing)
Expected benefit
Notes, constraints and realism
Immediate next steps (concrete GitHub discussion/issue checklist)
Create repo
lumos-lang/with README and minimal CLI scaffold.Open issues:
Add
examples/nextjs-minimalandexamples/rust-service-minimalthat demonstrate no change to existing pages — they import generated modules only.Draft contributor guide: priorities and target list.
Generated via ChatGPT
Beta Was this translation helpful? Give feedback.
All reactions