package saltoIL

  1. Overview
  2. Docs
Salto Intermediate Language

Install

Dune Dependency

Authors

Maintainers

Sources

saltoIL-0.1.11.tbz
sha256=431a9607c7368ef48651468815c2f098dd33c73aa725ece111b9966adb50d6db
sha512=dfdbcbe89bcdf2ecdc95f52d1c18c8c6b39786867eafccc23ebb393c36d8e6445a40fd78d19d386614b63e093f11604fe9581d72f2adab6572bcea9320f8edab

README.md.html

README.md

Salto Intermediate Language

The Salto Intermediate Language is a simplified version of the OCaml TypedTree. This library provides function to transform the OCaml TypedTree into the Salto IL, and to transform the Salto IL into the OCaml ParseTree.

The definition of our IL is located in the Ast module.

The functions that translate the Typedtree elements into their conterpart in the IL are located in the Transpose module. These functions produce trees whose nodes contain identifiers that are ensured to be unique. This is not hash-consing: even two sub-trees that happen to be identical by chance will get two distinct identifiers. These unique identifiers enable comparison/equality tests of trees in constant time.

The Term module provides some useful functions, and in particular the computation of free variables (or, more accurately, free paths).

Documentation is available here.

OCaml

Innovation. Community. Security.