A Dependently Typed Functional Programming Language
Go to file
David Raymond Christiansen 60b43b48b7 Add raw name quotes
The raw quote of name n, written `{{n}}, quotes n directly to its AST
without performing any lookup or resolution, allowing a much shorter
syntax.
2015-09-07 14:08:16 +02:00
benchmarks Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
codegen improve the usage message a bit more 2015-09-06 10:43:29 +03:00
docs Merge pull request #2518 from jeremy-w/jeremy-w/mark-interactive-proving-as-deprecated 2015-09-06 19:43:53 +02:00
icons Added the icon in the wrong dir 2015-08-26 22:14:52 +02: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: tweak event scheduling 2015-08-12 16:02:42 +02:00
libs Merge branch 'effLogging-updates' of https://github.com/jfdm/Idris-dev into jfdm-effLogging-updates 2015-09-06 18:55:01 +01:00
logos Added SVG logos 2015-06-22 15:32:38 +01:00
main Implement bundled toolchain feature 2015-04-02 17:21:08 +02:00
man Fix typo in help message (language extension) 2014-09-12 21:48:50 +02:00
rts Show Double with full precision on C backend 2015-08-26 02:35:00 +02:00
samples need to import Data.Vect and Data.Fin for interp.idr to compile 2015-07-19 00:47:04 -07:00
src Add raw name quotes 2015-09-07 14:08:16 +02:00
test Merge branch 'effLogging-updates' of https://github.com/jfdm/Idris-dev into jfdm-effLogging-updates 2015-09-06 18:55:01 +01:00
.gitattributes typo fix in git attributes, adding test results to gitignore 2012-11-26 21:09:59 -05:00
.gitignore Updated gitignore to ignore emacs temp files 2015-08-25 16:37:30 +01:00
.travis.yml Remove travis deps unused since llvm & java backend removals. 2015-07-07 11:56:24 -07:00
CHANGELOG Add raw name quotes 2015-09-07 14:08:16 +02:00
CITATION.md Added a citation file. 2015-02-26 16:35:38 +00:00
config.mk Add AR and RANLIB envs for exherbo multiarch. 2015-05-21 16:52:00 +01:00
CONTRIBUTING.md Tidying CONTRIBUTING.md 2015-03-29 17:10:03 +01:00
CONTRIBUTORS Add myself as contributor for #2373 and #2569 2015-09-05 22:39:47 +02:00
custom.mk-alldeps Saner set of suggested defaults for cabal flags. 2015-04-14 23:08:37 +01:00
idris-tutorial.pdf Updated PDF version of tutorial to current release. 2015-05-27 12:45:48 +01:00
idris.cabal Merge pull request #2572 from enolan/cabal-extra-files 2015-09-06 19:42:51 +02:00
LICENSE Fix LICENSE 2011-09-14 18:01:24 +01:00
Makefile Add a make target to build an Idris without optimization 2015-07-13 16:23:30 +02:00
mkpkg.sh Add script to put library docs in a tarball. 2015-03-19 19:14:44 +01:00
README.md Add ReadTheDocs badge to README 2015-03-20 11:31:10 +01:00
Setup.hs Remove unused imports 2015-05-18 16:42:05 +01:00
stack.yaml Add Stackage Configuration for easy building 2015-07-25 19:14:28 +01:00
win-release.sh Implement bundled toolchain feature 2015-04-02 17:21:08 +02:00

Idris

Build Status Documentation 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 installing 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 continuous integration builds on travis-ci.org are built 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 omit 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 the Contributing Guide first.