Skip to content

Compiler for min-caml language built with Ocaml and Python

License

Notifications You must be signed in to change notification settings

porink0424/pycaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pycaml Compiler

'Pycaml Compiler' is a compiler for min-caml, which has a two-tiered structure: Ocaml parts first performs the process up to a closure transformation, and then Python parts performs the process left.

Getting Started

Prerequisites

  • ocaml
  • python3

Usage

To use Pycaml Compiler, run following steps.

  1. Make an executable file of min-caml.

make

  1. To run two parts in succession, run pycaml.sh:

sh pycaml.sh filename

You can compile any file in test directory by specifying the filename without an extension. If you do not specify a file, test/test.ml will be compiled.

Reference

About

Compiler for min-caml language built with Ocaml and Python

Topics

Resources

License

Stars

Watchers

Forks

Languages