当前位置: 首页>>技术教程>>正文


有哪些 BASIC 解释器可用?

,

问题描述

一个新的 Ubuntu 用户问他 – 他也想学习编程 – 他可以用什么来运行 BASIC 代码。在尝试 Ubuntu 之前,他正在阅读一本 BASIC 书籍,他希望继续使用,而不必切换回 Windows。

看起来标准存储库中有一些 BASIC 包,以及像 Mono 这样可能包含某种 BASIC 支持的项目。

对于学习 BASIC 基础知识和 Ubuntu 新手的人来说,标准存储库或 deb 包中的什么是好的建议?

最佳思路

搜索 apt 显示

  • basic256 – 儿童教育 BASIC 编程环境

  • yabasic – 又一个 BASIC 解释器

basic256 似乎它可能更适合用户,但我不确定该方言与他的编程书中的内容有多接近,这可能令人沮丧。

主页在这里 – http://www.basic256.org/index_en

yabasic 似乎更接近标准 BASIC,但我真的没有 first-hand 经验。

祝你好运。

次佳思路

Gambas 是与 Visual Basic 最接近的等价物(它非常适合桌面应用程序),所以如果你的朋友使用 Visual Basic 会很好。

Gambas is a free development environment based on a Basic interpreter with object extensions, a bit like Visual Basic™ (but it is NOT a clone !). Read the introduction for more information.

With Gambas, you can quickly design your program GUI with Qt or GTK+, access MySQL, PostgreSQL, Firebird, ODBC and SQLite databases, pilot KDE applications with DCOP, translate your program into any language, create network applications easily, make 3D OpenGL applications, make CGI web applications, and so on…

第三种思路

如果他对制作游戏更感兴趣,sdlBasic 会是更好的选择:

sdlBasicInstall Sdlbasic is a small, efficient and multiplatform basic interpreter aimed to game creation using the power of SDL library, it was inspired by the old and glorious AMOS.

第四种思路

为什么不看看这个小而有效的解释器:用 C 编写的 my-basic。它是可移植的。我认为无论是玩一点 BASIC 还是学习如何用 C 编写 BASIC 解释器,这都是一个好的开始。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/12037.html,未经允许,请勿转载。