A browser-based recreation of Borland Pascal 7, delivered as a single self-contained HTML file. This project reproduces the classic DOS-era Pascal IDE experience in the browser, including the editor, compiler, and runtime environment in a single-page web app.
This repository contains an HTML application that emulates the Borland Pascal 7 workflow:
- Source editor with line numbers and syntax highlighting
- Pascal compiler and interpreter implemented in JavaScript
- Runtime host for console-style programs
- Classic menu bar, status bar, and editor layout
- No external build step required
The app is designed to be easy to run locally and is intended as a nostalgic, educational, and functional browser port of the original Pascal environment.
Borland Pascal 7 — Browser Edition.html— the full application, including CSS, JavaScript, and Pascal runtime logic
Open the HTML file in any modern browser:
Borland Pascal 7 — Browser Edition.html
From the repository root:
python -m http.server 8000Then open:
http://localhost:8000/
- Borland-style IDE window layout
- Pascal syntax highlighting
- Program compilation and execution within the browser
- Text-based user screen and keyboard input support
- Dialogs, menus, and mouse/keyboard interactions inspired by classic Turbo Pascal tooling
This project is best viewed as a browser-hosted demo or emulator rather than a full modern Pascal toolchain. It preserves the feel of classic Borland development while running entirely in client-side JavaScript.
This project does not appear to include an explicit license file. If you plan to redistribute or adapt this code, confirm the repository owner’s licensing intent before publishing or using it beyond personal study.
- Add a README screenshot or demo GIF
- Include sample
.PASprograms - Add a proper project structure and optional packaging for easier hosting
- Document supported Pascal language features and limitations

