]> Witch of Git - ivy/blob - README.md
Add more notes to the README
[ivy] / README.md
1 # Ivy
2
3 [Little lambdas eat ivy.][etymology]
4
5 [etymology]: https://en.wikipedia.org/wiki/Mairzy_Doats
6
7 Ivy is an impure functional language that compiles to native code. It was
8 developed as an educational project to learn more about compiling functional
9 languages, and compiling without going through frameworks like LLVM that handle
10 the backend. It currently supports x64, and requires clang as an assembler.
11
12 Setup:
13
14 Running the compiler requires the Ivy runtime be on the linker search path.
15 Build the runtime:
16
17 ```shell
18 $ cd rt
19 $ cargo build --release
20 ```
21
22 And then you can either install `rt/target/release/libivy_rt.a` in your library
23 directory of choice, or run the compiler in the Ivy project root directory via:
24
25 ```shell
26 $ env LIBRARY_PATH=rt/target/release cargo run --release
27 ```