fe-lang / sonatina

Apache License 2.0
47 stars 6 forks source link

Allow Non-Alphabetic Characters in Function, Global Variable, and Struct Type Names #90

Open Y-Nak opened 5 days ago

Y-Nak commented 5 days ago

Currently, the parser restricts the characters allowed in the names of functions, global variables, and struct types to alphanbetic characters, numbers and underscores (_). We propose removing this limitation to allow a broader set of characters. Specifically, we want the parser to accept any character excluding delimiter characters(e.g., whitespace or newlines) in these names.

Proposed Solution:

Benefits: