Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

chrisdone-archive/ghc-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghc-server

A server interface to GHC. Work in progress. No official release yet.

Purpose

Server that accepts commands and responds with structured data on compiling, type info, compiler messages, etc. via s-expressions (and possibly JSON in the future).

Architecture

  • Asynchonrous s-expression-based communication layer
  • Sessions per project
  • Possible to connect to remote instances over TCP
  • Supports hsenv and sandboxes

Features

  • Type checking
  • Interactive REPL
  • Type info of top-level or sub-expressions
  • Go to definition
  • Kind info

See TODO.org for planned features.

Major GHC releases supported

I test compilation against the following GHC versions:

  • GHC 7.4
  • GHC 7.8
  • GHC 7.6

This is achieved via a wrapper module called GHC.Compat which wraps any function or type that has changed between GHC versions.

About

A server interface to GHC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •