Code Snippets EBNF

Short texts EBNF 🧑‍💻 Code snippets EBNF ✍️ Reading lists EBNF 👀

[Unicode LDML 39] Unicode Locale Identifier syntax

(* Unicode Locale Identifier *) unicode_locale_id = unicode_language_id extensions* pu_extensions? ; extensions = unicode_locale_extensions | transformed_extensions | other_extensions ; unicode_locale_extensions = sep [uU] ((sep keyword)+ | (sep attribute)+ (sep keyword)*) ; transformed_extensions = sep [tT] ((sep tlang (sep tfield)*) | (sep tfield)+) ; pu_extensions = sep [xX] (sep alphanum{1,8})+ ; other_extensions = sep [alphanum-[tTuUxX]] (sep […]