|
|
||
|---|---|---|
| ppx | ||
| test | ||
| .gitignore | ||
| README.md | ||
| dune-project | ||
| package.nix | ||
| ppx_unicode.opam | ||
README.md
ppx_unicode
this is an opinionated unicode PPX for ocaml
features
- all bare string literals are enforced UTF-8, and normalized using NFC. this is similar to
https://github.com/dbuenzli/ppx_utf8_lit, however this PPX aims for a modern implementation
based on
ppxliband defaults to enforced and normalized UTF-8 on all strings Uchar.tliterals:
# "å"[@uchar]
- : Uchar.t = <abstr>
bytesliterals
# "å"[@bytes]
- : bytes = Bytes.of_string "\195\165"