Creating your own language

Closely related questions (all taken by searching on [compiler] on stackoverflow): Learning Resources on Parsers, Interpreters, and Compilers Learning to write a compiler Constructing a simple interpreter … And similar topics (from the same search): Bootstrapping a language How much of the compiler should we know? Writing a compiler in its own language … Edit: … Read more

Why are many languages case sensitive?

I don’t think you’ll get a better answer than “because the author(s) of that language thought it was better that way”. Personally, I think they’re right. I’d hate to find these lines anywhere in the same source file (and refer to the same object+method)… SomeObject.SomeMethod(); … SOMEOBJECT.SOMEMETHOD(); … someObject.someMethod(); … sOmEoBjEcT.sOmEmEtHoD(); I don’t think anyone … Read more