package ocaml-solo5

  1. Overview
  2. Docs
On This Page
  1. Build artifacts
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.4.tar.gz
md5=186c4e0b2e2602b8a5cefbc731bcc6ba
sha512=b64b9f6b7371468b415c30eb7d13a06ae9c81eaf77f73494635919fc0134d9c3bb0aa177b78ab35d23bfa7fc045602a15f163e446c8fa67afe6e85f0ccbe0031

doc/compiler-libs.common/Unit_info/Artifact/index.html

Module Unit_info.Artifact

Build artifacts

type t

Metadata for a single compilation artifact:

  • the module name associated to the artifact
  • the filesystem path
  • the input source file if it exists
val source_file : t -> filename option

source_file a is the source file of a if it exists.

val prefix : t -> file_prefix

prefix a is the filename prefix of the compilation artifact.

val filename : t -> filename

filename u is the filesystem path for a compilation artifact.

val modname : t -> modname

modname a is the module name of the compilation artifact.

val from_filename : filename -> t

from_filename filename reconstructs the module name lax_modname_from_source filename associated to the artifact filename.