tsuki-lang / tsuki

An elegant, robust, and efficient programming language, that just lets you get things done.
MIT License
29 stars 2 forks source link

Identifiers allow for multiple consecutive underscores #3

Open liquidev opened 3 years ago

liquidev commented 3 years ago

Related: #2

The lexer should prevent identifiers from having more than a single underscore consecutively, and also disallow trailing underscores. This would become illegal:

test__test
hello_world_