Skip to content

Commit a03be48

Browse files
committed
Update README
1 parent 8f8301a commit a03be48

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
[![actions status](https://github.com/mdbrnowski/linalg-language/actions/workflows/test.yml/badge.svg)](https://github.com/mdbrnowski/linalg-language/actions)
44

5+
> [!IMPORTANT]
6+
> Python is known to be slow. This language has an interpreter *written in Python*. It will be *very* slow. Apart from providing nice syntax for matrices and tensors, it has absolutely nothing to offer; sorry about that.
7+
58
To see all available commands, simply run `./main.py`.
69

710
I'm afraid you'll need to explore the language on your own, since I haven't had the time to write anything resembling proper documentation.
11+
12+
Here is a sample of code:
13+
14+
```
15+
a = 0;
16+
b = 1;
17+
n = 10000;
18+
while (a < n) {
19+
print a;
20+
temp = a;
21+
a = b;
22+
b += temp;
23+
}
24+
```
25+
26+
For more, you can browse [tests](./tests).

0 commit comments

Comments
 (0)