An open API service indexing awesome lists of open source software.

https://github.com/Uchida16104/Lumos-Language

Lumos is a lightweight, beginner-friendly interpreted programming language designed for learning, experimentation, and scripting.
https://github.com/Uchida16104/Lumos-Language

basic html javascript language portfolio programming-language python shellscript

Last synced: 7 months ago
JSON representation

Lumos is a lightweight, beginner-friendly interpreted programming language designed for learning, experimentation, and scripting.

Awesome Lists containing this project

README

          

# Lumos Language

[![npm version](https://img.shields.io/npm/v/lumos-language.svg)](https://www.npmjs.com/package/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 = 5



- Function 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} end



- Conditional 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:



  • break




  • continue



- Launch from your terminal:



  1. npm i lumos-language




  2. cd path/to/lumos-language




  3. node index.cjs



- Compile on your terminal:



  1. npm i lumos-language




  2. cd path/to/lumos-language




  3. node 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

```shellscript
npm i lumos-language
```

in the terminal.

## Change
- You can refer to [npm](https://www.npmjs.com/package/lumos-language) or [GitHub Releases](https://github.com/Uchida16104/Lumos-Language/releases).

## More Info
Get from pdf.

2025 © Hirotoshi Uchida