Git Product home page Git Product logo

plt-amy / agda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agda/agda

1.0 0.0 0.0 128.79 MB

Agda is a dependently typed programming language / interactive theorem prover.

Home Page: https://wiki.portal.chalmers.se/agda/pmwiki.php

License: Other

Shell 0.20% JavaScript 0.20% Perl 0.01% Emacs Lisp 1.48% Haskell 55.14% CSS 0.02% TeX 6.49% Agda 27.99% Nix 0.02% Makefile 0.59% HTML 2.86% PostScript 4.24% Yacc 0.66% Lex 0.11%

agda's People

Stargazers

 avatar

agda's Issues

Annotated internal syntax

I think the proper way to implement type-on-hover, context-at-point (outside of interaction points..) isn't to make the type checker yell every single term that it produces (that would take a billion trillion times more space than the interface files currently do), but to add a Note-or-something constructor to Term:

data Term
  = ...
  | Note Range Term

Then making sure that we serialize these ranges. This shouldn't increase the size of the interface files too much; it would allow us to cache this info; and every function that deals with terms (except for instantiateFull, since that runs on all definitions before serialization) could just strip off the Note constructors. We can then compute the RangeMap of Term that we need for hover information by first finding the clause that encloses the point, then inverting that.

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.