Giter Site home page Giter Site logo

cstml / fmct Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 0.0 245 KB

Functional Machine Calculus typed. A programming language based on the FMC paper, developed from scratch for a Dissertation project.

License: BSD 3-Clause "New" or "Revised" License

Haskell 90.72% Makefile 0.89% Nix 7.87% Shell 0.16% Dockerfile 0.36%
fmct programming-language typechecker

fmct's Introduction

FMCt

Project archived, and used as inspiration for the development of a different take on a similar, yet different language: Space.

Typed Functional Machine Calculus.

Apps Available:

At the moment there are two ways of interacting with the FMCt type derivators:

  1. a CLI app: fmct-exe
  2. a web interface: fmct-web

Running

To run any of the two apps, add their name to cabal new-run. For example: cabal new-run fmct-exe

Building

To build there are two ways, depending on which you prefer. Note that both are valid for UNIX systems. As it stands, there is no defined way of building on windows except for the normal cabal new-build.

With Nix

  1. pull the repo,
  2. run: nix-build,
  3. you now have access to both executables in /result

With Cabal

  1. pull the repo,
  2. run: cabal new-run FMCt-web,
  3. you are locally serivng the FMCt-web at port 8080
  4. if your port is busy, set the FMCt-web to serve at a new port by setting export PORT=8082 to 8082 or whichever port you want to serve from.

With GNUMake

Have a look inside the makefile for useful commands.

Documentation

To create the documentation you need to run make documentation.

FMCt-web

The FMCt-web is a web interface for the FMCt where people can try out the language and its type checker without having to install anything.

There's also a CI/CD which deploys the main branch to this website.

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.