ocaml-community / sedlex

An OCaml lexer generator for Unicode
MIT License
235 stars 43 forks source link

Can't find info on ISO TR8876 #107

Closed ssfrr closed 2 years ago

ssfrr commented 2 years ago

I'm looking to lex unicode identifiers, and it seems that the built-in tr8876_ident_char is what I'm looking for, but I can't find any documentation about that ISO standard. I have found this page on unicode identifiers:

https://unicode.org/reports/tr31/

This also defines ID_Start and ID_Continue classes separately because often the first character of an identifier is more restrictive than the following characters.

What is the interpretation of tr8876_ident_char?

ssfrr commented 2 years ago

oh, it looks like xid_start and xid_continue are what I'm looking for