package mopsa

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

Frontends

This module manages the frontends of supported languages that translate input source files into a Mopsa Program.program.

type frontend = {
  1. lang : string;
    (*

    Language of the frontend

    *)
  2. parse : string list -> Program.program;
    (*

    Parser function that translates a list of input source files into a Mopsa Program.program

    *)
}

Frontends

val register_frontend : frontend -> unit

Register a new frontend

val find_language_frontend : string -> frontend

Find the frontend of a given language

OCaml

Innovation. Community. Security.