lumos-language
v1.1.2
Published
Lumos Language - Interactive CLI
Maintainers
Keywords
Readme
Lumos Language
Lumos is a lightweight, beginner-friendly interpreted programming language designed for learning, experimentation, and scripting.
Influences
Lumos is influenced by
- Python
- JavaScript
- BASIC
- ShellScript
Available
Variable Declaration:
let x = 5Function Definition:
def greet(name) { let message = "Hello," + name }Function Invocation:
greet("Bob")Control Structures:
for i = 1 to 5 { let square = i * i }while (x < 10) { let x = x + 1 }3.times do |i| {i} endConditional branch:
if (x == 10) { let status = "Done" } else { let status = "Not yet" }if (x == 10) { let status = "Done" } elsif (x == 20) { let status = "Already" } else { let status = "Not yet" }Break and Continue:
breakcontinueLaunch from your terminal:
npm i lumos-languagecd path/to/lumos-languagenode index.cjsCompile on your terminal:
npm i lumos-languagecd path/to/lumos-languagenode index.cjs main.lumos
Caution
- Please write the code in a single line and don't execute it while writing.
- When installing Lumos Language, don't use
npm install @uchida16104/lumos-language
but instead use
npm i lumos-languagein the terminal.
Change
- You can refer to npm or GitHub Releases.
More Info
Get from pdf.
2025 © Hirotoshi Uchida
