package rfsm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The command-line compiler

module type T = sig ... end

Output signature of the functor Compiler.Make

module type PARSER = sig ... end

Signature for the Parser input to the functor Compiler.Make

module type LEXER = sig ... end

Signature for the Lexer input to the functor Compiler.Make

module Make (L : Host.T) (Lexer : LEXER) (Parser : PARSER with type token = Lexer.token and type program = L.Syntax.program) : T

Functor building the compiler structure given a language definition, a lexer and a parser implementation