Giter Club home page Giter Club logo

dynahaskell's Introduction

dynahaskell

Installation

You need to build a copy of GHC with this diff. I've already patched it onto GHC-8.6.5 if you'd prefer that, and also built it for linux boxes.

To be honest, I'm not really sure how to install this thing; I just stuck it into ~/.stack/programs/x86_64-linux/ and pretended it was a real ghc-variant. Name it ghc-custom-dyna4-tinfo6.

You also need a hacked version of brick downloaded side-by-side.

Ideas

  • Expose the editing actions as an effect
  • Describe editing targets via srcspans
  • Effect for getting info on srcspans -- what's in scope, what type it is, etc (don't actually need a hacked GHC for this)

High Level

Interfaces and abstraction boundaries! Maybe the OOP guys got it right!

dynahaskell's People

Contributors

isovector avatar

Stargazers

 avatar Ben Siraphob avatar STYLIANOS IORDANIS avatar  avatar John avatar Solomon avatar Sandy Vanderbleek avatar James Haydon avatar  avatar clojj avatar Jan Hrcek avatar Kenneth Bruskiewicz avatar Jochen Schneider avatar Jordan Mackie avatar Armando Santos avatar J Kenneth King avatar Dan Minshew avatar Josh Burgess avatar Tim Kersey avatar Reed Mullanix avatar Josh Miller avatar Brad Svercl avatar  avatar

Watchers

 avatar James Haydon avatar Mitchell Dalvi Rosen avatar Jan Hrcek avatar Simon Jakobi avatar  avatar  avatar

dynahaskell's Issues

Highlight type errors

Type errors occur in the typechecked source as HsWrap _ (WpCast _) badExpr. Annotate these things after #6; and provide an editing target for type errors.

Can I get around ppr?

Right now typechecking is done by printing out the AST, and then parsing it, and then typechecking that. But why not just typecheck the ast we have?

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.