Giter VIP home page Giter VIP logo

ghc-server's Introduction

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.

ghc-server's People

Contributors

chrisdone avatar

Stargazers

David Reaver avatar Joe Graham avatar Sean Lee avatar Trevor Hartman avatar Heikki Johannes Hildén avatar Bryan Garza avatar Michael Fox avatar Daniel Buckmaster avatar  avatar Matěj avatar Raghav Gulati avatar Chris Parks avatar Calvin Beck avatar SEINO Katsuhiro avatar L W avatar Jonathan Fischoff avatar David Alexander avatar Owain Lewis avatar

Watchers

 avatar Jacob Stanley avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.