Code Monkey home page Code Monkey logo

logix's People

Contributors

benjaminselfridge avatar

Stargazers

 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

logix's Issues

quantifier precedence

quantifier precedence too high during parsing; need to make it extend as far to the right as possible

Generalize connectives & quantifiers

We want to be able to specify arbitrary connectives, not just and, or, etc. Same goes for quantifiers. The code doesn't do anything specific for the various connectives or quantifiers; that's all supplied by the definition for a Calculus.

Goal: generalize Calculus.hs, Parse.hs, and PPCalculus.hs to work with arbitrary connectives and quantifiers. This will mainly involve modifying Calculus.hs by replacing the different types of Formula and FormulaPat with general "Op" and "Quant" cases. These cases should probably have two Strings associated with them; one for an ASCII rendering of the quantifier, and one for an (optional) unicode rendering.

license confusion

Module headers indicate GPL-3, but .cabal and LICENSE indicate BSD3.

operator precedence

We can now define arbitrary binary connectives, but there is currently no way to set the precedence of those connectives. Might actually be relatively easy (just sort the parsers based on a precedence tag).

"map" pattern

Like SetPat, do MapPat which is like SetPat but every element of the set we are matching must match a pattern (rather than just wildcard). This would allow us to do things like !Gamma in linear logic rules

named formulas

Add an additional field (maybe in the form of a tuple) to a formula to give it a name of some kind. This would allow us to display particular formulas in abbreviated form

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.