Repl.FrontendSourceRead-eval-print-loop interactive frontend. Borrows the syntax and semantics from universal.
*********************
type ctx = {ctx_var : Universal.Frontend.var_context;ctx_fun : Universal.Frontend.fun_context;}***********
val parse_string :
?org:int ->
((Stdlib.Lexing.lexbuf -> Mopsa_universal_parser.U_parser.token) ->
Stdlib.Lexing.lexbuf ->
'a) ->
string ->
'aHelper to parse a string using a menhir parser entry point.
Parse an expression.
Parse a statement.
Parse a variable declaration.
Parse a function declaration.
Try to guess the nature of the input.
************
Prints a string with some locations highlighted.
*************
Main loop.
Ignore files and return the constant P_REPL program.