package saltoIL

Not available on OCaml 5.5
  1. Overview
  2. Docs
Salto Intermediate Language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

saltoIL-0.2.1.tbz
sha256=5714a2ab14c9834796bdeb9cc4268f07db64616661e62ba57b844f43aca92391
sha512=120588de6c6260c7a6526b6c940670f18727adb913f0bfcd27e5cb7148cea8277a7f47aeb64eb497f42649ced18f2e9bf4da4b973e5bc125711a11863e6fb98f

Description

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.

Added to opam-repository:

README

pipeline status

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.

Dependencies (7)

  1. seq = "base"
  2. ppx_deriving build & >= "5.2.1"
  3. ptmap >= "2.0.5"
  4. base >= "v0.16" & < "v0.17"
  5. ocaml-compiler-libs = "v0.12.4"
  6. ocaml >= "4.14.0" & < "4.15.0"
  7. dune >= "3.18"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by (1)

  1. salto-analyzer >= "0.2"

Conflicts

None

Build status

Results of building saltoIL with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2.1 (this version) n/a good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure