blob: 23d8e406caa29d5e40ed34e7202edd4c734f48e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Felan
A strongly statically typed programming language with a simple and friendly syntax. The language has been influenced by many other languages to be more user friendly both for new programmers who don't have many years of programming with other languages and those who want a powerful tool for programming.
# Features
* Powerful type system
* Compile time execution
* Operator overloading
* Function overloading
* Generic programming
* Low level access
* Pointer
* ...
# Examples
## Hello world
```
@import("basic.felan");
main :: () -> void {
print("Hello, world!");
};
```
## Printing
```
@import("basic.felan");
main :: () -> void {
b := 1234;
print(b);
a : i8 = 32;
print(a);
print("This is a string");
};
```
# TODO
* ~Overloading [] operator~
* ~Add code injection~
* Add macro
* Add enum
* Compile AST to BBA
* Compile BBA to ASM
|