Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Dependently Typed Functional Programming Language
Haskell Idris C JavaScript Shell TeX Other
Pull request Compare This branch is 1512 commits behind idris-lang:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
benchmarks
codegen
contribs
examples
idrisdoc
iif
jsrts
libs
main
man
rts
samples
src
test
.gitattributes
.gitignore
.travis.yml
CHANGELOG
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
Makefile
README.md
Setup.hs
config.mk
custom.mk-alldeps
idris-tutorial.pdf
idris.cabal
mkpkg.sh

README.md

Idris

Build Status Hackage

Idris (http://idris-lang.org/) is a general-purpose functional programming language with dependent types.

To configure, edit config.mk. The default values should work for most people.

To install, type 'make'. This will install everything using cabal and typecheck the libraries.

To run the tests, type 'make test' which will execute the test suite, and 'make relib', which will typecheck and recompile the standard library.

Idris has an optional buildtime dependency on the C library libffi. If you would like to use the features that it enables, make sure that it is compiled for the same architecture as your Haskell compiler (e.g. 64 bit libraries for 64 bit ghc). By default, Idris builds without it. To build with it, pass the flag -f FFI.

To build with libffi by default, create custom.mk or add the following line to it: CABALFLAGS += -f FFI The file custom.mk-alldeps is a suitable example.

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.

Idris has support for external code generators. Supplied with the distribution is a C code generator to compile executables, and a JavaScript code generator with support for node.js and browser JavaScript.

At the point of this writing, there are external repositories with a Java code generator and an LLVM-based code generator which can be found at https://github.com/idris-hackers/idris-java and https://github.com/idris-hackers/idris-llvm respectively.

Something went wrong with that request. Please try again.