https://github.com/pola-lcs/powang
powang: A work in progress language written in 🐍3️⃣
https://github.com/pola-lcs/powang
language oop polang powang programming-language python
Last synced: 1 day ago
JSON representation
powang: A work in progress language written in 🐍3️⃣
- Host: GitHub
- URL: https://github.com/pola-lcs/powang
- Owner: POLA-LCS
- License: mit
- Created: 2025-05-29T02:43:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-13T00:24:34.000Z (12 months ago)
- Last Synced: 2025-07-13T02:35:41.143Z (12 months ago)
- Topics: language, oop, polang, powang, programming-language, python
- Language: Python
- Homepage:
- Size: 832 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# powang: The multi-purpose programming language written by me :D.

> [!WARNING]
> It's still work in progress so expect to encounter bugs or undefined behaviours.
Hiii, this is POLA, a software engineering student, and this is my own programming language.
Initally based on the lisp operators but later changed into a more natural language.
## TODO
- [X] Comments `##`.
- [X] Primitive types: `nova`, `some`, `integer`, `number`, `string`, `array`, `map`.
- [X] Standard io `output(...)`, `input(var)`.
- [X] Type modifiers like constant "type!" and weak "@type".
- [X] User types.
- - [X] Methods.
- - [ ] Inheritance.
- [X] Functions.
- - [ ] Signature.
- - [X] Define.
- - [ ] Templates.
- [X] A better lexical analysis.
- [ ] References.
- [X] Logical operators.
- [X] Arithmetics (see [Arithmetic Operators](examples/arithmetics.po)).
- [ ] Error handling.
- [X] Control flow:
- - [X] if.
- - [X] else.
- - [X] while.
- - [X] for.
- - [X] each.
- - [X] else if.
## Get started
You need [Python3](https://www.python.org/).
- Clone the repository with:
```git clone https://github.com/POLA-LCS/powang```
- Go to `./powang`
- Run `powang.py --help`
- Create the file `main.po`
- Write your first hello world with `output("Hello, world!\n");`
- Run it with `powang.py main.po`