奥伯龙派 (Àobǎlóng Pài)
Oberon Pi

原始链接: http://pascal.hansotten.com/niklaus-wirth/project-oberon/oberon-pi/

Oberon Pi是Richard Gleaves基于Peter de Wachter的Project Oberon模拟器移植到树莓派操作系统上的项目,旨在使最初的Oberon系统更容易上手。Oberon系统由Niklaus Wirth和Jürg Gutknecht设计,是一个完整的系统,包括操作系统、编译器和计算机架构;Oberon Pi保留了其核心元素,同时更新了用户界面以适应现代用户。 Gleaves整合了Andreas Pirklbauer对编译器的改进,并提供了全面的文档,例如用户指南和Wirth的原始Oberon文档(增加了目录以方便使用)。Oberon Pi作为应用程序运行在树莓派操作系统中,提供了一个独立的Oberon环境。 该项目在GitHub上可用,需要一台树莓派(推荐Pi4/Pi5)和树莓派操作系统。初始版本为32位版本,但其中包含了将其适配到64位系统的说明。其目标是通过更新用户界面,在不影响核心功能的前提下,使这个具有历史意义的系统更易于学习和理解。

这个Hacker News帖子讨论了“Oberon Pi”,这是一个预装了“Project Oberon 2013”(Oberon操作系统的一个特定版本)模拟器的树莓派发行版。评论者们描述了Oberon的历史及其极简主义的设计理念,这与Java等功能丰富的环境形成了对比。帖子中讨论了Oberon对Go等语言的影响,以及与Plan 9和9front等其他极简系统进行的比较。分享了学习Oberon的资源,包括Wirth的指南和oberonc(JVM实现)等。一些人指出了Oberon及其后续项目A2的活跃开发的衰落。帖子也提到了Oberon的局限性(Unicode、图形、网络支持)以及它作为学习工具和简洁设计原则展示的优势。

原文

Oberon, the jewel by Niklaus Wirth and Jürg Gutknecht: Operating System, Compiler and Computer.

Oberon Pi is a port of Peter de Wachter’s Project Oberon emulator to the Raspberry Pi OS by Richard Gleaves.
Richard Gleaves is a former UCSD Pascal Project member, and author of the 1984 Springer book “Modula-2 for Pascal Programmers”.

The software changes were mostly limited to the UI, with the goal of flattening out the learning curve for new users of the Oberon system, not only read about in a few places online, but also experienced firsthand after bringing the system up.

Richard also added Andreas Pirklbauer’s changes to the Oberon compiler, to fully implement CASE statements and fix a few compiler bugs.

The main feature in Oberon Pi is its documentation, which includes new user guides Richard wrote for the Oberon operating system and draw application, along with a complete set of Wirth’s original PDF documents on the Oberon language, now made more usable with the addition of TOCs to the PDFs.

Here an uptodate downloadable list of relevant Oberon documents:

Oberon – The Overlooked Jewel, Michael Franz
Compiler Construction, 2017, Niklaus Wirth
Differences between Revised Oberon and Oberon, 2008, Niklaus Wirth
The Programming Language Oberon, 2013/2026
Programming A Tutorial, 1982/2015, Niklaus Wirth
A Plea for Lean Software, Niklaus Wirth
Project Oberon
The Design of an Operating System, a Compiler and a Computer
Revised Edition 2013
Niklaus Wirth, Jurg Gutknecht
Oberon Pi Setup Guide
Oberon Pi Quick Reference
Oberon Pi System User Guide
Oberon Pi Draw Quick Reference
Oberon Pi Draw User Guide

See the github at https://github.com/richardgleaves/Oberon-Pi for Oberon Pi, ready to run on the Raspberry Pi OS.
See below how to run Oberon Pi on a 64 bit architecture Raspberry Pi OS.

Oberon Pi

Author: Richard Gleaves

This version of Oberon, named Oberon Pi, emulates the Oberon system on a Raspberry Pi 400, using the Raspberry Pi OS as the host operating system.
Oberon Pi runs as an application in the Raspberry Pi OS. When you execute the Oberon Pi command, a window opens on the Pi OS desktop. This window is the Oberon *display*, and it works like a separate computer running the Oberon system, with its own windows, command menus, and file system.

Goals
The original Oberon system includes many unusual user interface elements. These elements make the system worthy of study, both as a historical software artifact, and as a case study in user interface design.
But the original system also includes a few non-key features (such as *mouse interclicking* and opaque command names) which make the system difficult to learn.
The primary goal and purpose of Oberon Pi is instructional: to make the original Oberon system more accessible, by updating the non-key user interface elements to contemporary software standards, while preserving the key elements that make Oberon unique.
Oberon Pi includes source code and full documentation of the Oberon system and language. The system user guide is provided as both a standalone PDF file and as integrated help in the Oberon system.

System Requirements

– Raspberry Pi computer (Pi4 or Pi 5 preferred)
– 32 bit or 64 bit Raspberry Pi OS desktop vrsion(Bookworm or Bullseye)
– Desktop computer monitor (large preferred)

Installation
For details see the *Oberon Pi Setup Guide*.

History
The Oberon system was originally developed in the late 1980s by Niklaus Wirth and Jürg Gutknecht. In 2013 the system was re-implemented by Wirth and Paul Reed to run on a custom RISC processor. In 2014 an emulator for the RISC processor was developed by Peter De Wachter. Oberon Pi is a port of the emulator to the Raspberry Pi OS.

Install and run on 64 bit Raspberry Pi OS
The github distribution is for the 32 bit Raspberry Pi OS.

Make these changes to run Oberon Pi on a 64 bit Raspberry Pi OS after the initial setup but before launching Oberon Pi:


cd Oberon\Emulator
mv risc risc.pi400
sudo apt install libsdl2-dev
make

which will produce (silently) a new ‘risc’ executable and follow the ‘Oberon Pi Setup Guide’.

Here an archive with both 32 bit and 64 bit ‘risc’ executables.

联系我们 contact @ memedata.com