QBasic语言规范

发布于 2024-10-07 21:56:24 字数 68 浏览 0 评论 0原文

我受到一个朋友的挑战,用QBasic编写一个QBasic编译器。

在哪里可以找到该语言最新版本的语言规范?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

葬シ愛 2024-10-14 21:56:24

Microsoft 的 QBasic IDE 附带了相当完整的语言文档和提供的例程。据我所知,这大概是您能找到的最完整的规范,但除了未记录的 DOS 特定的 peek/poke 魔法之外,它应该足以为(大部分)语言编写编译器。

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.

凯凯我们等你回来 2024-10-14 21:56:24

QB64QBasic 的一个很好的克隆/扩展,它有一个 wiki,其中包含非常详细的 语言参考 按字母顺序、用法排序,或 语法上

注意:以下划线(“_”)前缀的关键字是不属于经典 QBasic 语言的扩展。

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.

伴随着你 2024-10-14 21:56:24

QuickBasic 4.5可以编译成*.exe

QuickBasic 4.5 can compile into *.exe

悟红尘 2024-10-14 21:56:24

您只需在浏览器中输入:QB64 即可找到最新版本 - 这就是现在所谓/重做的 QBasic 版本,具有更大的机会。他们有自己的论坛YT 频道,甚至Discord

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文