p5scm

Scheme via camlp5
Library p5scm.lib
Module P5scm . Ast
type sexpr =
| Atom of atom
| Alist of sexpr list
| Slist of sexpr list
| Stlist of sexpr list
| Vlist of sexpr list
| Plist of sexpr list
| Lpatt of sexpr * sexpr
| Toplv of string * string
and atom = typ * string
and typ =
| Bool
| Ident
| Tident
| Keyword
| Int
| Float
| Op
| Char
| String
val sexpr_of_sexp : Sexplib0.Sexp.t -> sexpr
val atom_of_sexp : Sexplib0.Sexp.t -> atom
val typ_of_sexp : Sexplib0.Sexp.t -> typ
val sexp_of_sexpr : sexpr -> Sexplib0.Sexp.t
val sexp_of_atom : atom -> Sexplib0.Sexp.t
val sexp_of_typ : typ -> Sexplib0.Sexp.t