Skip to content

Name sanitization #22

@flupe

Description

@flupe

lbox does not magically sanitize name (I think it should), so we have to do it ourselves, especially when targetting Rust. But:

  • lbox still applies some transformation on the names we give (enums have the first letter uppercased, for example`.
  • lbox fails on same unicode symbols (e.g: Ֆ)
  • Some keywords ought to be avoided entirely. (See "reserved" and "strict" keywords here: https://doc.rust-lang.org/reference/identifiers.html)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions