Giter VIP home page Giter VIP logo

typos's People

Contributors

croyzor avatar fredriknordvallforsberg avatar g-nakov avatar gallais avatar jacquescarette avatar pigworker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

silky

typos's Issues

Both Show and Pretty ?

There are a number of types (like MachineStep in Options) that have both Show and Pretty instances. Is this on purpose?

Documentation is out of date

Mostly just recording this here so we don't forget it, and because it is always satisfying to close issues: after Monday's increase in static analysis, which necessitated an increase in intention in the source language (e.g. declaring the syntactic categories of stashes, and fresh metavariables), the examples in the README are currently out of date with reality.

Abstract Syntaxes

TypOS has a very simple raw syntax: pairs and atoms, bindings and variables, metavariable instantiations. We could just use raw terms for everything, but that offers considerable potential for subtle errors. I propose that we equip ourselves with the means to characterise sets of raw terms which are in some sense well formed. E.g., we might introduce the distinction between "checkable constructions" and "synthesizable computations". Thus equipped, we can say which sorts of thing go where in judgement forms.

What are syntaxes like? As a syntax designer, I should be able to

  1. Name syntaxes, and recursively demand substructures of a given syntax.
  2. Demand a pair whose head has one syntax and whose tail has another, depending on the head.
  3. Demand the nil atom.
  4. Demand a binder, specifying the syntax of the bound variable and the syntax of the term under the binder.
  5. Demand one of a specific set of non-nil atoms.
  6. Perform case analysis on a component of known syntax, in order to compute a syntax.

I thus have to say what patterns are like. Note the "Law of Explicit Discrimination": the only things we can tell apart are non-nil atoms.

We could go nuts and define something an awful lot like type theory.

Let's at least try to spend fewer bucks, as long as we get enough bang.

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.