Idris-dev/README

19 lines
1.3 KiB
Plaintext
Raw Normal View History

2011-11-07 04:15:08 +04:00
Idris (http://idris-lang.org/) is an experimental functional programming
language with dependent types.
2012-10-29 22:57:34 +04:00
To configure, edit config.mk. The default values should work for most people.
2011-11-07 04:15:08 +04:00
To install, type 'make'. This will install everything using cabal and
2013-02-25 18:16:07 +04:00
typecheck the libraries.
To run the tests, type 'make test' which will execute the test suite, and
2013-07-06 05:46:00 +04:00
'make relib', which will typecheck and recompile the standard library.
Idris has optional buildtime dependencies on the C libraries llvm-3.3 and libffi. If you would like to use the features that these enable, be sure these are compiled for the same architecture as your Haskell compiler (e.g. 64 bit libraries for 64 bit ghc). By default, Idris builds without them. To build with them, pass the flags -f LLVM and -f FFI, respectively.
To build with LLVM and libffi by default, create custom.mk or add the following line to it:
CABALFLAGS += -f LLVM -f FFI
2013-07-06 05:46:00 +04:00
Idris has a runtime dependency on libgmp, and on Boehm GC (libgc) when using the LLVM codegen. These are needed for linking into compiled programs, so be sure these are compiled for Idris's default target architecture (usually 64 bit on x86_64 systems).
2013-09-27 03:58:11 +04:00
The Idris wiki contains instructions for building on various platforms and for getting involved with development. It is located at https://github.com/idris-lang/Idris-dev/wiki .