morsmall
Morsmall
morsmall.utilities
module AST : sig ... end
Shell AST.
exception SyntaxError of Location.lexing_position
val parse_file : string -> AST.program
Parses a whole Shell file into a list of AST.command. The list can be empty. Can raise SyntaxError.
AST.command
SyntaxError
val pp_print_safe : Format.formatter -> AST.program -> unit
Prints a Shell from its AST.
val pp_print_debug : Format.formatter -> AST.program -> unit
Prints a representation of the AST in OCaml-style.
module Location : sig ... end
module SafePrinter : sig ... end
module CST_to_AST : sig ... end
module Utilities = Morsmall_utilities