Skip to content

Research language for array processing in the Haskell/ML family

License

Notifications You must be signed in to change notification settings

mrMaize/dex-lang

 
 

Repository files navigation

Dex

Dex (named for "index") is a research language for array processing in the Haskell/ML family. The goal of the project is to explore:

  • Type systems for array programming
  • Mathematical program transformations like differentiation and integration
  • User-directed compilation to parallel hardware
  • Interactive and incremental numerical programming and visualization

To learn more, check out our workshop paper or these example programs:

Please note that Dex is an experimental research project at an early stage of development. We welcome contributions. There's plenty of work to do!

Setup

  • Install stack
  • Install LLVM 7, e.g. apt-get install llvm-7-dev

Building

  • Build Dex: make (on non-Linux run make all-non-linux)
  • Run tests: make tests
  • Set up alias (e.g. in .bashrc) alias dex="stack exec dex --"

Running

  • Traditional REPL: dex repl
  • Execute script: dex script example/tutorial.dx
  • Notebook interface: dex web example/tutorial.dx

License

BSD-3

This is an early-stage research project, not an official Google product.

About

Research language for array processing in the Haskell/ML family

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 93.7%
  • C 1.8%
  • JavaScript 0.9%
  • TeX 0.8%
  • Python 0.7%
  • Makefile 0.7%
  • Other 1.4%