百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

endbasic

> 编程语言
开源

一个包含 REPL、Web 界面、图形控制台和使用 Rust 编写的 RPi 支持的 BASIC 环境

383 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个包含 REPL、Web 界面、图形控制台和使用 Rust 编写的 RPi 支持的 BASIC 环境

The EndBASIC programming language

EndBASIC is an interpreter for a BASIC-like language and is inspired by Amstrad's Locomotive BASIC 1.1 and Microsoft's QuickBASIC 4.5. Like the former, EndBASIC intends to provide an interactive environment that seamlessly merges coding with immediate visual feedback. Like the latter, EndBASIC offers higher-level programming constructs and strong typing.

EndBASIC offers a simplified and restricted environment to learn the foundations of programming and focuses on features that can quickly reward the programmer. These features include things like a built-in text editor, commands to render graphics and play sound, and commands to interact with the hardware of a Raspberry Pi.

EndBASIC is written in Rust and runs both on the web and locally on a variety of operating systems and platforms, including macOS, Windows, and Linux.

EndBASIC is free software under the AGPL v3+.

The latest version of EndBASIC is 0.14.0 and was released on 2026-07-04.

Quick start on the web

Open EndBASIC in your browser by visiting:

Or go the project's website at:

The web interpreter should work on all major desktop browsers as well as mobile devices (with some small known issues on Android).

The web interpreter runs fully locally: any programs you write are persisted in your browser's local storage by default. That said, you can choose to sign up for the cloud service and upload your programs to share them with the world.

Quick start on your machine

Visit the release page to download prebuilt binaries. Once downloaded, unpack the archive and run the endbasic binary to get started.

Be aware that the binaries are not signed right now so it can be difficult to get these to run on Windows and macOS.

The binary releases are built with the recommended settings: they all include graphics support, and the builds for the Raspberry Pi include support for its hardware. To use the graphics console, you will need to launch the binary using one of these forms:

bash
endbasic --console=sdl            # Default console size, windowed.
endbasic --console=sdl:800x600    # Custom resolution.
endbasic --console=sdl:800x600fs  # Custom resolution, full screen.
endbasic --console=sdl:fs         # Desktop resolution, full screen.

Building from source

Of course, you can also build and install EndBASIC from source by running the following command (assuming you have a Rust toolchain installed):

bash
cargo install endbasic

The above will fetch EndBASIC from , build it with default settings, and then install the resulting binary under ~/.cargo/bin/.

If you want to enable graphics support (recommended), you will first have to install the SDL2 library. Follow these steps depending on the platform you are on:

…

If you want to enable support for the Raspberry Pi hardware (along with the recommended graphics features), do this on the Raspberry Pi itself:

bash
sudo apt install libsdl2-dev pkg-config
cargo install --features=rpi,sdl endbasic

More information

Refer to the User's Manual for information on how to get started with EndBASIC.

Type HELP within the interpreter to access the Reference Manual.

The following documents provide more information about the structure of this repository:

  • For language features, see core/README.md.
  • For standard library contents, see std/README.md.
  • For usage details of the command-line interpreter, see cli/README.md.
  • For REPL information, see repl/README.md.
  • For terminal support, see terminal/README.md.
  • For SDL support, see sdl/README.md.
  • For Raspberry Pi specific features, see rpi/README.md.
  • For the web interface, see web/README.md.
  • For changes across versions, see NEWS.md.

Why EndBASIC?

EndBASIC started as part of my desire to teach programming to my own kids. I remember learning programming on an old Amstrad CPC 6128: the experience was unique in the sense that every command had immediate effect. Changing colors, drawing on the screen, or playing sounds were just a few keystrokes away after booting the computer, without the need to deal with separate editors and terminals. I've noticed a similar excitement in my kids when showing this to them via an emulator, so I thought I would replicate this in a more modern fashion. And here we are.

Because of this inspiration, EndBASIC's name stands for "E. and D.'s BASIC" following my kids first name initials.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbasicgpiographics-programminginterpreter

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言