PyCon Indonesia 2025

Back to the Future: A Line-Numbered Python Interpreter with BASIC Flavor

A PyCon Indonesia 2025 talk about PyBAS, a lightweight BASIC language interpreter written in Python that combines retro line-numbered programming with modern Python convenience.

PDF for PyCon Indonesia 2025, covering the project context, methodology, implementation details, and outcomes.

Project

PyBAS

The talk frames PyBAS as both a nostalgia project and a teaching tool: BASIC-style line numbers, IF/GOTO control flow, loops, and interpreter mechanics become a way to explain how programs move through code.

Talk role

Presented the project and implementation ideas at PyCon Indonesia 2025, covering motivation, features, sample code, interpreter behavior, and a demo.

Talk and project details

Interpreter command for running `.pybas` programs.
Interactive `pybasrepl` command for GW-BASIC-style programming.
Formatter command `pybasfmt` for source formatting and indentation.
Supports variables, arithmetic, strings, PRINT, INPUT, FOR/NEXT, GOSUB/RETURN, functions, IF/GOTO, and line-by-line execution.
Installable from PyPI as `pybas-retro` and released as an MIT-licensed Python project.
PythonInterpreterBASICPyConTeaching tool