I have been challenged by a friend to write a QBasic compiler in QBasic.
Where can I find a language specification for the latest version of the language?
I have been challenged by a friend to write a QBasic compiler in QBasic.
Where can I find a language specification for the latest version of the language?
Microsoft's QBasic IDE comes with fairly complete documentation of the language and provided routines. So far as I know, that is about as complete a specification as you'll find, but it should be enough to write a compiler for (most of) the language, aside from undocumented DOS-specific peek/poke magic.
QB64 is a nice clone/extension of QBasic which has a wiki that contains a very detailed language reference sorted alphabetically, by usage, or syntactically.
Note: keywords prefixed with an underscore ('_') are extensions that were NOT part of the classic QBasic language.
You can find the latest version by just typing in your browser: QB64
- it's how it is nowadays called/redone version of QBasic with a bigger aspect of opportunities. They have their forum, YT Channel and even Discord.
© 2022 - 2024 — McMap. All rights reserved.