Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Dependently Typed Functional Programming Language
Haskell Idris C JavaScript Shell TeX Other

This branch is 831 commits behind idris-lang:master

Failed to load latest commit information.
benchmarks Removed '_|_' as a built in declaration and renamed it to 'Void',
codegen
contribs Several updates to idrislang.sty
examples Remove example directory
idrisdoc Updated signatures to use Conor colours, increased difference between…
iif Change TRACE mode to use -O2
jsrts javascript: fix for #1580
libs Move Pair/Sigma into Builtins namespace
main Call gcc using rawSystem
man Fix typo in help message (language extension)
rts Fix GC statistics overflow
samples
src Support for inductive-inductive types
test Move Pair/Sigma into Builtins namespace
.gitattributes typo fix in git attributes, adding test results to gitignore
.gitignore Merge pull request #1704 from eamsden/master
.travis.yml Don't build Idris twice in CI
CHANGELOG Support for inductive-inductive types
CONTRIBUTING.md Updated contributed.md.
CONTRIBUTORS Update CONTRIBUTORS
LICENSE Fix LICENSE
Makefile Fixed makefile spacing issues
README.md Fix a few typos in the README
Setup.hs Factor out LLVM backend
config.mk Add -DIDRIS_ENABLE_STATS to CodegenC. Add missing #ifdef IDRIS_ENABLE…
custom.mk-alldeps Automatically detect console width
idris-tutorial.pdf
idris.cabal
mkpkg.sh Update version number to 0.9.11

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.