sexp

    Download zip
    Author
    Version
    0.1.3
    License
    Apache-2.0
    Last updated
    10 days ago
    Downloads
    40

    #Sexp library in MoonBit

    Sexp

    pub(all) enum Sexp {
    Atom(String)
    List(Sexp_list)
    } derive(
    Debug
    )

    sexp types
    impl Show for Sexp

    Sexp::output

    fn Sexp::output(self : Sexp, logger : &Logger) -> Unit

    Sexp::to_repr

    Sexp::to_string

    fn Sexp::to_string(self : Sexp) -> String

    Sexp_list

    pub(all) enum Sexp_list {
    Nil
    Cons(Sexp, Sexp_list)
    } derive(
    Debug
    )

    impl Show for Sexp_list

    Sexp_list::output

    fn Sexp_list::output(self : Sexp_list, logger : &Logger) -> Unit

    Sexp_list::to_string

    fn Sexp_list::to_string(self : Sexp_list) -> String

    atom

    fn atom(s : String) -> Sexp

    cons

    fn cons(head : Sexp, tail : Sexp_list) -> Sexp_list

    list

    fn list(xs : Sexp_list) -> Sexp

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io