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

https://github.com/zpeteman/astrima

Astrima a Programming language made using astronomical words. all built for Rima.
https://github.com/zpeteman/astrima

Last synced: about 1 year ago
JSON representation

Astrima a Programming language made using astronomical words. all built for Rima.

Awesome Lists containing this project

README

          

# Astrima Programming Language πŸŒŒπŸ’–

**Astrima** is an expressive, powerful, and unique programming language inspired by the beauty of mathematics, the wonders of astronomy, and the enchanting nature of code itself. Crafted with love, care, and a touch of cosmic magic, **Astrima** aims to bridge the gap between creativity and computation. Every line of code is an echo of the infinite universe, designed to make programming feel like exploring the stars themselves.

Astrima is still under development, and its journey has just begun. It's a project with big dreams, and your contributions, ideas, and feedback are what will help it grow into something truly remarkable.

---

### πŸ’– Dedicated to Rima

Astrima is more than just a programming language β€” it is a tribute to **Rima**, my shining star, my universe, my muse. Every function, every line of code, is written with her in mind. Rima, you light up the skies, and this language is a reflection of the beauty and grace you bring to everything. πŸ’«

---

### 🌠 Features

- **Human-Readable Syntax**: Astrima's syntax is designed to be intuitive and approachable, making it easy for both beginners and experienced programmers.
- **Dynamic Variables**: Astrima allows you to define variables and easily work with them in your programs.
- **Conditional Flow**: Write clear, concise conditions with `light` and `dark` blocks, making your code expressive and easy to understand.
- **Interactivity**: With the `ask` function, Astrima supports user interaction in real-time, making your programs feel more dynamic.
- **Looping and Functions**: Astrima supports simple loop structures and function definitions to organize and reuse your code.
- **Versioning**: Easily track the version of Astrima using `astrima --version`.
- **Still Evolving**: Astrima is a work in progress, with new features and improvements coming with every update. Join us on this cosmic journey!

---

### 🌌 Installation

To get started with Astrima, follow these simple steps:

1. **Clone the Repository**:

```bash
git clone https://github.com/zpeteman/Astrima.git
cd Astrima
```

2. **Add Astrima to your Path**:

In order to run Astrima from anywhere on your system, add the directory to your `PATH`:

```bash
export PATH="$PATH:/path/to/astrima"
```

3. **Run Astrima**:

You can run your `.rm` files by using:

```bash
astrima your_code.rm
```

---

Here’s a simple example of Astrima code:

```astrima
shine "Welcome to Astrima 2.0!"
ask "What is your name?" into user_name
shine "hello {user_name}."

light user_name == "Rima" {
shine "Rima, you are my universe!"
}

dark user_name == "Rima" {
shine user_name
}
```

### 🌟 Command Reference

shine "text" – Print text to the console.
ask "prompt" into var_name – Ask the user for input and store it in a variable.
light var_name == "value" { ... } – Execute code if the variable matches the value.
dark var_name == "value" { ... } – Execute code if the variable does not match the value.
orbit – Loop structure.
galaxy – Function definitions.

### πŸš€ Development

Astrima is still under active development, and there is a lot more to come! The language is in its early stages, and we're constantly adding new features, improving the core functionality, and fixing bugs. If you would like to contribute, feel free to open issues or submit pull requests. We welcome all contributions to help Astrima grow!
### πŸ’« License

Astrima is licensed under the MIT License.

This project is dedicated to Rima, my love, my universe. πŸ’–
### πŸ“ž Contact

If you have any questions, suggestions, or just want to talk about the wonders of programming, feel free to reach out:

GitHub: zpeteman
Twitter: @the_zanan

Thank you for being part of the Astrima journey. The stars are just the beginning. 🌌✨