Résolution stellaire en OCaml
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
515 B

(* The type of tokens. *)
type token =
| VDASH
| VAR of (string)
| SYM of (string)
| RIGHT_PAR
| RIGHT_BRACK
| RIGHT_BRACE
| PLUS
| MINUS
| LEFT_PAR
| LEFT_BRACK
| LEFT_BRACE
| DOT
| COMMA
(* This exception is raised by the monolithic API functions. *)
exception Error
(* The monolithic API. *)
val spacec: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Stellar.constellation * Stellar.constellation)
val constc: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Stellar.constellation)