bitwise README.md

KAV

kav is a purely functional systems programming language making use of linear and indexed types.

it has no garbage collection, and makes memory management easy and safe through the use of linear types and limited mutability.

building the compiler

at build-time, you will need re2c to generate the lexer, the C standard libary, a C compiler, and a 'make'. then run

make
make install # as root

this will install the compiler and the standard library.

using the compiler

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.)

you can compile a kav program by running

kav -o example example.kav

other

there are various small examples in the examples/ directory, so you can get a feel for the language. the langauge is not finished yet, so you may encounter some bugs. the standard library is also not finished, and may not yet provide everything you need. watch this space!

currently, kav only runs on x86-64 linux machines. in the future this will change.

contributing

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'