Code Monkey home page Code Monkey logo

deeplang-type-system's Introduction

Deeplang Type System

We are learning TAPL and developing some interesting projects as follow:

Todo list:

  • Deeplang parser/lexer
  • Deeeplang typing rules
  • Deeplang symbol table
  • Deeplang type checker and then type infer
  • Deeplang wasm codegen

Prepare

  • ocaml >= 4.12.0
  • dune >= 2.8

Building

Currently, only the AST definition is completed. Its source file is at parser/ParseTree.ml. To build the AST definition, you need an OCaml compiler and the dune build system. To build directly with dune, do:

dune build

You can also build with Makefile, via:

make build

To build the module document of source files as well, you need to install the odoc document generator as well. Once odoc is installed, you can build module documents through:

make doc

The generated documents of internal modules are located in doc/internal/module_name-xxxxxxxxxx, in HTML format. You can preview the HTML online by opening the link of the HTML file in

To build source files and document together, do:

make all # or simply `make`

Development Guide

To add new OCaml modules, you just need to modify the dune build file, and add your modules/libraries/executables into it. You can find the document of dune here.

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.