Monto Services for the Haskell language
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
src
LICENSE
README.md
Setup.hs
default.nix
services-haskell.cabal
start.sh
test
test.hs

README.md

Monto services for the Haskell language

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 Instructions

  1. Build Requirements:

    • GHC >= 7.10.2
    • Cabal >= 1.18
    • ZeroMQ 4
    • pkgconfig
  2. Build Steps:

    $ cd service-haskell
    $ cabal update
    $ cabal sandbox init
    $ cabal install --dependencies-only
    $ cabal build
  3. 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