Module Morsmall
module AST : sig ... endShell AST.
Parsers and Converters
exceptionSyntaxError of Location.lexing_position
val from_CST : Morbig.CST.program -> AST.programval parse_file : string -> AST.programParses a whole Shell file into a list of
AST.command. The list can be empty. Can raiseSyntaxError.
Printers
val pp_print_safe : Stdlib.Format.formatter -> AST.program -> unitPrints a Shell from its AST.
val pp_print_debug : Stdlib.Format.formatter -> AST.program -> unitPrints a representation of the AST in OCaml-style.
Other Modules
module Location : sig ... endmodule SafePrinter : sig ... endmodule CST_to_AST : sig ... endmodule Utilities = Morsmall_utilities