paulzfm / CP-next

Try experimental features

Home Page:https://plground.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CP - The Next Generation

This repository is a fork of Next-CP, a compositional programming language, founded on a core calculus named Fi+. I am now actively adding new experimental features to it.

Build

If you want to run CP programs locally using a CLI, you can follow the procedure below:

  • First of all, you need to install Node.js.
  • Then execute npm install to get all of the dev dependencies.
  • After installation, you can choose either of the following npm scripts:
    • npm start to run a REPL;
    • npm test to run a test suite checking examples/*.cp.

New Features

  • REPL: store defined/imported bindings in the REPL context
  • REPL: auto-completer
  • REPL: load history from file
  • Type system: interface type (nominal)
  • Type system: infer type arguments

About

Try experimental features

https://plground.org

License:Other


Languages

Language:PureScript 51.7%Language:Ruby 17.5%Language:JavaScript 13.3%Language:TeX 7.1%Language:HTML 5.1%Language:ANTLR 3.3%Language:Dhall 1.5%Language:CSS 0.3%Language:Makefile 0.1%