Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 875 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 875 Bytes

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