| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | `Smart` Compilers |
Ro> MoonRock has similar syntax to BASIC but is internally more Ro> elegant and simple (and fast). If anyone's interested: Clever you... BL> Personally, I don't find it very annoying to have to swap BL> syntax every time I write in a different language. What I BL> *would* find annoying is having to get the case right (as well BL> as the spelling), and that's the way BASIC is (like the BL> annoying curly braces for comments in Pascal instead of BL> something easy). Ro> What are you going on about Bob! As I read the above you're Ro> suggesting that M$ BASIC will not accept lowercase keywords? Ro> Incorrect. No... I meant that the VB editor puts the functions in upper case for you. I find that very useful as a way of knowing if I spelt it wrong. Ro> That's given me a great idea! I am working on the IDE for Ro> MoonRock. If it comes across something it doesn't understand, Ro> it will suggest keywords which are close to that spelling, Ro> using an algorithm similar to soundex. eg: "Rowan Crowe", Ro> "Rowen Crowe", "Rowan Crow" all produce the same soundex code. I'm not sure that would help much. Writing code, it's not the sound (most of it doesn't even have vowels), it's transposed letters or things like StrLng instead of StrsLong. My own pet idea is to take the declarations, functions and protected words, and make them upper case (or bold, or whatever form you like) whenever they are typed, as they are typed, something like VB does. That way, you know what you *meant* to type, and you'll know if it was supposed to change case. It's drive you mad if you typed "StrsLong" on purpose, and it kept changing into "StrLng". My favourite editor is VB, but Delphi's not bad. Regards, Bob ___ Blue Wave/QWK v2.12 @EOT: ---* Origin: Precision Nonsense, Sydney (3:711/934.12) SEEN-BY: 690/718 711/809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.