Skip to content

feihong/parsers

Repository files navigation

Parsers

Prerequisites

brew install opam
opam init
eval $(opam env)
opam switch create 4.12.0
opam install utop menhir

Quickstart

Use opal inside of utop:

utop
utop # #use "opal.ml";;
utop # let input = LazyStream.of_string "foo is great" in
let foo = token "foo" in
parse foo input;;
- : string option = None

Run cedict_parser.ml as script:

ocaml cedict_parser.ml

Run cedict_parser.ml inside of utop:

utop
utop # #use "cedict_parser.ml";;

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages