惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Jina AI
Jina AI
博客园 - 叶小钗
B
Blog RSS Feed
Recent Announcements
Recent Announcements
H
Help Net Security
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
B
Blog
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客

The Register - Special Features

Troops’ phones gave away location data to foreign adversaries Qualcomm picks bad time to pitch a $300 laptop platform AI agents get their own phone directory built atop DNS Carnival confirms ShinyHunters cruised off with 6M customer records after April breach Google engineer accused of turning Year in Search secrets into Polymarket payday Are we human? India's cyber agency sets clock at 12 hours to tackle exploited bugs as AI turns up the heat Broadcom gets early start on WiFi 8 with next-gen wireless routing kit Are we human? Microsoft Excel champ proves he still has the formula Anthropic co-founder hallucinates ghost in the machine Anthropic co-founder hallucinates ghost in the machine NASA plans Moon Base buildout with rovers, drones, cargo landers MyPillow must decide whether to be firm or soft as ransomware crims demand pay Starship shows it can deploy satellites, but Moon mission clock still ticks Huawei's chip law looks less like Moore and more like marketing Experts pour cold borscht on Farage's Russian hack claim Logitech unveils a cushioned mouse for all-day use AI eyes scanning for bugs create a worrisome Linux security trend A Russian speaker and jailbroken Gemini went on a hacking spree and emptied at least one MAGA victim's crypto wallets AI datacenter boom collides with US grid reality Media giant settles for $930k amid user-snooping allegations AT&T sues to ditch Cali copper phone lines to save billions FBI warns of Kali365 as device code phishing soars Techie claims Trump Mobile website was leaking thousands of people's data BOFH: Vibe-coded solutions arrive for problems nobody has Dems slam Trump for making cybersecurity hold out the tin cup while splurging on ballroom and Jan. 6 'slush fund' Google explains how it will infuse ads into AI answers AI is getting pricey, but relief is coming, but not for you Deus ex machina: Half of US Christians trust AI's spiritual advice
FOSS dev builds a BASIC compiler using LLVM
Liam Proven · 2026-06-25 · via The Register - Special Features

personal tech

Not just any old BASIC, either: OS-9’s BASIC09

Neither LLVM nor GCC directly support the BASIC programming language – but a former Microware boffin proposes fixing that.

An interesting new proposal on the Discourse forum of the LLVM compiler suite has turned into a new standalone BASIC compiler. The original RFC was Adding BASIC09 frontend tool to LLVM. Author Boisy Petre proposed adding a front-end to enable LLVM to compile BASIC source code, and this has now turned into a standalone compiler called basic09c, which uses LLVM as a library. We are irresistibly reminded of the recent addition of ALGOL-68 to GCC

As we said in 2023, BASIC is anything but dead, and, for BASIC’s 60th birthday, the following year we covered new versions of three modern FOSS dialects. The late Dr Thomas Kurtz would have been proud.

It’s not just any old home-computer BASIC, either. Dr Petre is working on a compiler for Microware BASIC09. This was one of the compilers that Microware offered for its multitasking, multiuser Unix-like OS, called OS-9. Way back in 1999, many users of Apple’s then-new MacOS 9 – often just called “OS 9” – confused it with the already 20-year-old Microware OS-9, and they pestered OS-9 newsgroups and communities with Mac questions and chatter. As The Register reported back then, Microware even sued Apple over the trademark.

BASIC09 is a structured BASIC: it has named procedures with local variables, supports constructs such as IF…THEN…ELSE, user-defined variable types – and no, it did not need line numbers. The best reference we can find to BASIC09 today is its Wikipedia article, but you can also read the manual [PDF].

Tandy Color Computer 2 resting on a table with cables nearby

A Tandy Color Computer 2 sits on a table at a retro computing event in Orlando, Florida, alongside cables and other equipment.
Pic credit: Dolores M. Harvey/Shutterstock

Microware is still around and still supports OS-9, which is marketed as an RTOS these days. Home microcomputer users, though, might have known OS-9: it was an optional OS for the British Dragon 32 micro and was on the list for the first British laptop too. For Stateside readers, the Dragon 32 was a relative of the American Tandy Color Computer, which had the same Motorola 6809 CPU and could also run OS-9.

Aside from its technical merits, there are other good reasons he chose this particular BASIC: Although Boisy Gene Petre became Dr Petre last year, he has been in the industry for quite a while. He worked at Microware early in his career, and even quarter of a century ago he was writing articles about the Tandy CoCo.

This is not the first time that the Reg FOSS desk has been bamboozled by boffin Boisy’s brilliance. That was way back in 2012, when he created one of our favorite ever retrocomputing projects: the astonishing Liber809. This performed a total brain transplant on the original Atari 8-bit machines, installing a 6809 CPU and supporting firmware.

As he explained in a post called The Beginning, the goal was to marry the most advanced eight-bit CPU with the most capable eight-bit computer of its time. Retrocomputing blog The Byte Cellar described it well. This would of course render the machine incompatible with all existing Atari software, but the plan was to make it able to run NitrOS-9 – a community distribution of the original 6809 version of the Microware OS. ®