Giter VIP home page Giter VIP logo

luitzen's Introduction

luitzen
=========
  A demo implementation of a simple dependently-typed language for OPLSS 2013
	Stephanie Weirich

The goal of this project is to bring up the design issues that occur in the
implementation languages like Agda, Coq, Epigram, Idris, etc. Of course, it
can't cover everything, but this code is a good starting point for discussion.

As it's main purpose is didactic, the code itself has been written for
clarity, not for speed. The point of this implementation is an introduction to
practical issues of language design and how specific features interact with
each other.

Furthermore, this code based includes a number of features (unit, booleans,
sigma types) which are all subsumed by the general mechanism for
datatypes. These are included to give examples before diving into the more
general, and much more complicated, code.


Features
--------
  - PTS representation (uniform syntax for all levels)
  - bidirectional type checking
  - observational propositional equality
  - inductive & indexed datatypes

Not covered (Future work!)
--------------------------
  - nontermination
  - effects
  - co-induction
  - type inference & unification
  - general constraint solving

This code is open source. Feel free to extend or adapt it for your own
project. The definitive version will be uploaded to github after the summer
school is complete.
  https://github.com/sweirich/pi-forall

Caveat
------
There will be bugs. There will be *design* bugs. The language is probably not
sound. Or may not be so in the presence of 'innocent' axioms like classical
logic. Even in this little language there are many semantic pitfalls. C'est la
vie.

Installation
----------
  luizten requires GHC and cabal, most easily available from
  the Haskell Platform (http://www.haskell.org/platform/)

  in the top level directory type 'cabal install'

Acknowledgement
---------------

Some of this code was adapted from the 'zombie-trellys' implementation by the
Trellys team. The Trellys team includes Aaron Stump, Tim Sheard, Stephanie
Weirich, Garrin Kimmell, Harley D. Eades III, Peng Fu, Chris Casinghino,
Vilhelm Sjöberg, Nathan Collins, and Ki Yung Ahn.

This material is based upon work supported by the National Science Foundation
under Grant Number 0910786. Any opinions, findings, and conclusions or
recommendations expressed in this material are those of the author(s) and do
not necessarily reflect the views of the National Science Foundation.

luitzen's People

Contributors

jonsterling avatar sweirich avatar

Stargazers

Roman Hossain Shaon avatar Aaron Gray avatar Mark Farrell avatar

Watchers

 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.