commit 7de2e02

shrub  ·  2026-11-25 18:47:16 +0000 UTC
parent 3ee6229
make readme better
2 files changed,  +36, -5
D README
D README
+0, -5
1@@ -1,5 +0,0 @@
2-+++
3-KAV
4-+++
5-
6-a programming language! 
+36, -0
 1@@ -0,0 +1,36 @@
 2+# KAV 
 3+
 4+kav is a purely functional systems programming language making use of linear and indexed types.
 5+
 6+it has no garbage collection, and makes memory management easy and safe through the use of linear types and limited mutability.
 7+
 8+## building the compiler
 9+
10+at build-time, you will need re2c to generate the lexer, the C standard libary, a C compiler, and a 'make'.
11+then run
12+
13+	make
14+	make install # as root
15+
16+this will install the compiler and the standard library.
17+
18+## using the compiler
19+
20+when using the compiler, you will need qbe, the C standard library, and a C compiler (in the future you will not need the last 2.)
21+
22+you can compile a kav program by running
23+
24+	kav -o example example.kav
25+
26+## other
27+
28+there are various small examples in the examples/ directory, so you can get a feel for the language.
29+the langauge is not finished yet, so you may encounter some bugs. the standard library is also not
30+finished, and may not yet provide everything you need. watch this space!
31+
32+currently, kav only runs on x86-64 linux machines. in the future this will change.
33+
34+## contributing
35+
36+if you'd like to contribute a patch to kav, feel free to email a patch file or a git bundle to admin at 'srcdump dot net'
37+