A Dependently Typed Functional Programming Language
Go to file
David Raymond Christiansen 48fd8429d9 Better test for @-_-desugaring
2015-01-10 17:58:59 -08:00
benchmarks Removed '_|_' as a built in declaration and renamed it to 'Void', 2014-10-11 20:00:19 +02:00
codegen javascript: lift out node backend 2014-08-22 17:50:29 +02:00
contribs Several updates to idrislang.sty 2014-12-10 00:25:22 +00:00
idrisdoc Updated signatures to use Conor colours, increased difference between links and non-links, and fixed a wrap issue in Safari and Chrome 2014-04-17 01:30:02 +02:00
iif Change TRACE mode to use -O2 2012-09-05 17:24:37 +01:00
jsrts javascript: fix for #1580 2014-10-05 00:24:54 +02:00
libs Remove stray Effects file 2015-01-09 21:44:51 +00:00
main Use pre-existing function to list installed packages at command line 2015-01-02 19:29:23 -05:00
man Fix typo in help message (language extension) 2014-09-12 21:48:50 +02:00
rts Add gc copy for bit vectors 2015-01-01 23:13:05 +01:00
samples remove /examples/ folder, move Makefile to /samples/ 2014-12-13 23:50:03 +04:00
src Only rewrite _ under @! 2015-01-10 17:41:52 -08:00
test Better test for @-_-desugaring 2015-01-10 17:58:59 -08:00
.gitattributes typo fix in git attributes, adding test results to gitignore 2012-11-26 21:09:59 -05:00
.gitignore Merge pull request #1704 from eamsden/master 2014-11-28 13:17:47 -08:00
.travis.yml enable CI builds in travis-script 2015-01-04 18:10:50 +01:00
CHANGELOG Add module docs to CHANGELOG 2015-01-03 19:21:23 -08:00
config.mk add msse2, fixes #1819 2015-01-02 10:27:38 +04:00
CONTRIBUTING.md Updated contributed.md. 2014-10-15 14:09:53 +01:00
CONTRIBUTORS Update CONTRIBUTORS 2014-11-16 22:48:51 +03:00
custom.mk-alldeps Automatically detect console width 2014-02-02 19:04:46 +01:00
idris-tutorial.pdf Tutorial changes. 2013-11-28 11:40:27 +00:00
idris.cabal Replace _ patterns with fresh variables under @-patterns 2015-01-10 17:13:00 -08:00
LICENSE Fix LICENSE 2011-09-14 18:01:24 +01:00
Makefile Set CI to anything when running make, then the cabal flag CI will be set 2015-01-04 18:04:02 +01:00
mkpkg.sh Update version number to 0.9.11 2014-02-04 16:07:00 +00:00
README.md Little text about CI flag 2015-01-04 18:20:40 +01:00
Setup.hs Factor out LLVM backend 2014-09-20 00:13:09 +01:00

Idris

Build Status Hackage

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

Standard Installation Instructions

This repository represents the latest development version of the language, and may contain bugs that are being actively worked on. For those who wish to use a more stable version of Idris please consider installing the latest version that has been released on Hackage. Installation instructions for various platforms can be found on the Idris Wiki.

Installing Development Versions

If you like to work against the latest development version, please consider using Cabal Sandboxes to minimise disruption to your local Haskell setup. Instructions for install Idris HEAD within a cabal sandbox are available on the Idris Wiki.

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

Idris is built using a Makefile common targets include:

  • make This will install everything using cabal and typecheck the libraries.
  • make test This target execute the test suite.
  • make relib This target 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 a custom.mk file and add the following line to it:

CABALFLAGS += -f FFI

The file custom.mk-alldeps is a suitable example.

The continues integration builds on travis-ci.org are build using the ghc-flag -Werror. To enable this behaviour locally also, please compile using make CI=true or adding the following line into custom.mk:

CI = true

If you are only compiling for installing the most current version, you can ommit the CI flag, but please make sure you use it if you want to contribute.

Code Generation

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 this moment in time there are two external repositories with a Java code generator and an LLVM-based code generator.

More Information

If you would like to find out more information, or ask questions, we currently have a Wiki; a mailing list, and an IRC channel #idris on freenode. To join the IRC channel, point your irc client to chat.freenode.net then /join #idris.

For those further interested in using Idris for projects, the Idris Hackers GitHub organisation is where some interesting projects are being hosted.

For those interested in contributing to Idris directly we kindly ask that prospective developers please consult [CONTRIBUTING.md] first.