diff --git a/Camomile/tools/dune b/Camomile/tools/dune index 418052f..e4e4673 100644 --- a/Camomile/tools/dune +++ b/Camomile/tools/dune @@ -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) diff --git a/Camomile/tools/iana.ml b/Camomile/tools/iana.ml index 74c6da2..c712a95 100644 --- a/Camomile/tools/iana.ml +++ b/Camomile/tools/iana.ml @@ -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]+\\)"