Lowercase Allowed

Programming language questions

Lowercase Allowed

Postby Ivan Denisov » Sat Feb 02, 2019 4:32 pm

There is small changes in the scanner, that allows lowercase style for keywords.
https://forum.oberoncore.ru/viewtopic.p ... 40#p106339

I think, that this can be included to the Center version. This will give more freedom for user projects for newcomers from Delphi etc.

If module starts from "MODULE", that means uppercase style. If it starts from "module" there is lowercase style.

Update: possible way to make scanner optional extensions.
User avatar
Ivan Denisov
Posts: 283
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Lowercase Allowed

Postby Zinn » Mon Feb 04, 2019 3:05 pm

When you really want to have lower case keywords,
a better way is to write an editor or a preprocessor
which translate keywords to uppercase automatically.

Also having keywords translated in your language is not a good idea.
20 years ago Microsoft translated the keywords of its visual basic for application into the foreigner language by loading the Office language pack.
You could not use the original sample applications. After translation the application was really unreadable.
The German applications did not run on an English installation of Office and vice versa.
With next release of Office this future was discarded and you had translate your applications back to English.

- Helmut
Posts: 83
Joined: Mon Nov 24, 2014 10:47 am
Location: Frankfurt am Main

Return to Component Pascal

Who is online

Users browsing this forum: No registered users and 1 guest