package menhirSdk
Compile-time library for auxiliary tools related to Menhir
Install
Dune Dependency
Authors
Maintainers
Sources
archive.tar.gz
md5=437b8a568c9bb0df35b4482439c2520b
sha512=6a3cb084d1b2868022b4cb94484801aa7eaea13cfe2788b0da4407693229a6ce699cb282d9fd972476cf29551c259daa40f355dcdc1e545e47573a458a84c9dd
doc/menhirSdk/MenhirSdk/Cmly_format/index.html
Module MenhirSdk.Cmly_format
Source
Source
type terminal_def = {
t_name : string;
t_kind : [ `REGULAR | `ERROR | `EOF | `PSEUDO ];
t_type : ocamltype option;
t_attributes : attributes;
}
Source
type nonterminal_def = {
n_name : string;
n_kind : [ `REGULAR | `START ];
n_mangled_name : string;
n_type : ocamltype option;
n_positions : range list;
n_nullable : bool;
n_first : terminal list;
n_attributes : attributes;
}
Source
type production_def = {
p_kind : [ `REGULAR | `START ];
p_lhs : nonterminal;
p_rhs : producer_def array;
p_positions : range list;
p_action : action option;
p_attributes : attributes;
}
Source
type grammar = {
g_basename : string;
g_preludes : string list;
g_postludes : string list;
g_terminals : terminal_def array;
g_nonterminals : nonterminal_def array;
g_productions : production_def array;
g_lr0_states : lr0_state_def array;
g_lr1_states : lr1_state_def array;
g_entry_points : (nonterminal * production * lr1) list;
g_attributes : attributes;
g_parameters : string list;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>