Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build iana executable #77

Merged
merged 1 commit into from
Aug 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Camomile/tools/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
parse_age
camomilestringprep)
(flags -I Camomile :standard)
(modules :standard \ camomilelocaledef camomilelocaledef_lexer)
(modules :standard \ camomilelocaledef camomilelocaledef_lexer iana)
(libraries toolslib))

(executable
(name iana)
(modules iana)
(libraries camomile str))

(executable
(name camomilelocaledef)
(libraries toolslib)
Expand Down
5 changes: 1 addition & 4 deletions Camomile/tools/iana.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
(* You can contact the authour by sending email to *)
(* yoriyuki.y@gmail.com *)


#load "bigarray.cma";;
#load "camomile.cma";;
#load "str.cma";;
open CamomileLibraryDefault.Camomile

let name_pat = Str.regexp "Name:[ \t]+\\([^ \t]+\\)"
let alias_pat = Str.regexp "Alias:[ \t]+\\([^ \t]+\\)"
Expand Down