pub fn is_legal_name(name: &str) -> boolExpand description
Is name a legal Bynk identifier — a single, dotless Ident? Answered by
the real lexer rather than a hand-rolled regex, so it tracks the language
exactly: a dash, dot, leading digit, or reserved keyword all yield something
other than one lone Ident token and are rejected.