selftiesoftware/runic-lang

Lowercase the hell out of reposcript

Closed this issue · 6 comments

Jegp commented

Lowercase all input strings in the Tokenizer, so all functions, objects and variables will ignore case.

So a call to line(...) would be the same as LINE(...) or LiNe(...).

great! lets us dumb it down :)

Jegp commented

Closed in web

Jegp commented

I discovered that there's a bug in the name resolution, so a function 'x' clashes with a name 'x'. This gets worse by lowercasing everything, so I'll revert this until the other is fixed.

Jegp commented

Giving it a second thought; is it really a good idea? It's pretty obvious when a character is lowercase or uppercase and it gives some possibilities for better naming... Dunno. What do you think Ole?

I say no case sensitivity!

Lets try that anyway, keeping it simple..