This repository includes the following services:
- Tokenizer, derived from the parsing side product of GHC
- AST, directly generated by the GHC
parseModule
function - Type Errors, generated by the GHC
typecheckModule
function - Outline, generated by trimming the AST of
parseModule
-
Build Requirements:
- GHC >= 7.10.2
- Cabal >= 1.18
- ZeroMQ 4
- pkgconfig
-
Build Steps:
$ cd service-haskell $ cabal update $ cabal sandbox init $ cabal install --dependencies-only $ cabal build
-
Starting the services
First make sure that the broker is running, then start the services with the following command
./dist/build/services-haskell/services-haskell