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.
- Comments
##. - Primitive types:
nova,some,integer,number,string,array,map. - Standard io
output(...),input(var). - Type modifiers like constant "type!" and weak "@type".
- User types.
-
- Methods.
-
- Inheritance.
- Functions.
-
- Signature.
-
- Define.
-
- Templates.
- A better lexical analysis.
- References.
- Logical operators.
- Arithmetics (see Arithmetic Operators).
- Error handling.
- Control flow:
-
- if.
-
- else.
-
- while.
-
- for.
-
- each.
-
- else if.
You need Python3.
-
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
