It's about a structured language for the Commodore VIC-20, which is possibly our own Waterloo (maybe we could name it Caporetto Structured BASIC
![Cool 8)](./images/smilies/icon_cool.gif)
Moderator: Moderators
Fully readable article in Issuu HEREMike wrote:I took a look into the article's pages. Unfortunately, the listing is reproduced with barely legible letters, IMO a reconstruction is not possible from those.
Sounds nice. Impressive how deep you could go with 8-bits, if you really wanted to learn seriously from your micro.Mike wrote:However, I now think it works more like a pre-compiler, which produces working BASIC programs from the BASAL source code, replacing the structured language elements with the standard constructs of BASIC. Which actually means, that the severe restrictions I hinted at above are non-existent (and were mostly motivated by the simple examples).
Nice, thank you!Mike wrote:Edit 2: It's here, 'Precompiler' in 64'er Issue 12/86 (64'er online issues of 1986). For C64 only, though (main program is in BASIC, but there's also a support library in machine language, which would need to be ported). The *.pdf is ~80 MB in size.
Well, Structured Programming claims that every algorithm known to mankind (and other species) can be expressed using only those three constructs: sequence, selection and loops.highinfidelity wrote:Can someone briefly expand the issue?
Beyond a certain point of expressiveness, *all* usable programming languages are equivalent.highinfidelity wrote:The fact that a "structured" programming language can be implemented using standard basic instructions (as done with BASAL) seems to confirm that there is no real, substantial difference between the two languages, [...]
by that logic there is no substantial difference between simons basic and assembler. *shrug*The fact that a "structured" programming language can be implemented using standard basic instructions (as done with BASAL) seems to confirm that there is no real, substantial difference between the two languages, as one is built using the statements set of the other.
Well, to some extent. Your example was quite extreme, and it also compared a lower-level programming language to a higher-level one, but very roughly that was my point.groepaz wrote:by that logic there is no substantial difference between simons basic and assembler. *shrug*