Search found 250 matches
- Tue Jun 29, 2021 6:34 pm
- Forum: Software & Programming
- Topic: Digital C code gen
- Replies: 10
- Views: 2884
Re: Digital C code gen
The book "Dr. Dobb's Toolbook of C" is pretty much on Small-C, including the Small-Mac assembler and Small-Tools for text processing. It's a good inch thick. Back in the day I was all into Small-C, but because the source was available (and I doubt I would have look at the source).
- Sun Jun 27, 2021 5:21 am
- Forum: Software & Programming
- Topic: Digital C code gen
- Replies: 10
- Views: 2884
Re: Digital C code gen
Well, the source code is available if you feel like digging more into the code generator. See Dilwn's page to find it.
Tim
Tim
- Sun May 16, 2021 3:53 am
- Forum: Software & Programming
- Topic: 50 Years of Pascal
- Replies: 8
- Views: 2226
Re: 50 Years of Pascal
When transferred to a 4-year college in 1985, I had to learn Pascal because all other CS courses were done in Pascal (Data Structure, Computer Languages, Computer Graphics, etc). Halfway through my Junior year I got my QL ( April 86) and later I got Metacomco Pascal. The program I was writing for on...
- Thu May 13, 2021 8:29 pm
- Forum: Software & Programming
- Topic: 50 Years of Pascal
- Replies: 8
- Views: 2226
Re: 50 Years of Pascal
That was an interesting read. I'm glad my college did Pascal instead of Fortran, as Fortran was not very structured. I did pick up some good programming habits from Pascal that I could use with SuperBasic.
Tim
Tim
- Sun Apr 04, 2021 4:42 am
- Forum: The Off-Topic Section
- Topic: Today I Received...
- Replies: 642
- Views: 289428
Re: Today I Received...
> Really? It has the look of a much bigger bike in the photo. Mind you, 650cc is quite big for a "Scooter". I've been riding a Honda Silverwing 600cc scooter since 2012. Scooter only means how it operates and does not define size. After 12 years on my Honda CB750, I went with the Silverwin...
- Fri Mar 19, 2021 10:25 am
- Forum: Software & Programming
- Topic: NameCheck
- Replies: 44
- Views: 11675
Re: NameCheck
Norman, Thanks for the fix. The two sections should be all one script. Easy enough to be fixed by who ever downloads it. In the example with version$, the script will find "version$" and compare that with the keyword list and it will not match if the keyword is "version". The scr...
- Fri Mar 19, 2021 4:25 am
- Forum: Software & Programming
- Topic: NameCheck
- Replies: 44
- Views: 11675
Re: NameCheck
It looks like the indenting was taking out of the program, but it should still work since Perl does not use white space for managing blocks of code.
Tim
Tim
- Fri Mar 19, 2021 4:24 am
- Forum: Software & Programming
- Topic: NameCheck
- Replies: 44
- Views: 11675
Re: NameCheck
After thinking on this, it looks like perl is the best option over awk or text utilities (the GNU text utils don't have all that I was hoping for). Here is the perl script that will take a SuperBASIC file (with or without line numbers), generate a list of variables (assuming that all variables will ...
- Thu Mar 18, 2021 7:45 pm
- Forum: Software & Programming
- Topic: NameCheck
- Replies: 44
- Views: 11675
Re: NameCheck
The goal seems to be to make sure that variables don't use the same name as a keyword. The next step would be how to distinguish a variable in an SB file. LET is one way, but LET does not have to be used. Everything to the left of the = side could be variable. Using multiple grep commands or using r...
- Wed Mar 17, 2021 3:48 pm
- Forum: Software & Programming
- Topic: NameCheck
- Replies: 44
- Views: 11675
Re: NameCheck
I'm trying to understand why there is a need to create NameCheck as a program. If the issue is "have I used a variable name that is used by a toolkit", then it would be far simpler to just create a list of all keywords from toolkits and then just create a script that does a brute force &qu...