Skip to main content

Time Warp Classic

Back-to-basics Tkinter IDE for 9 vintage + modern languages with turtle graphics.

Time Warp Classic is an educational multi-language IDE that bridges the past and present of programming, supporting 9 programming languages through an elegant graphical interface with integrated turtle graphics, inspired by the golden age of computing.

Version Python License education ide tkinter multi-language turtle-graphics


🌟 Features

Multi-Language Support

Execute code in 9 different programming languages — six with full built-in interpreters and three delegating to external runtimes:

Built-in Interpreters:

  • PILOT (1968) — Educational computer-assisted instruction
  • BASIC (1964) — Classic line-numbered programming with turtle graphics
  • Logo (1967) — Visual turtle graphics programming
  • Pascal (1970) — Structured programming with strong typing
  • Prolog (1972) — Logic programming with facts, rules, and backtracking
  • Forth (1970) — Stack-based concatenative programming

External Runtime Executors:

  • Perl (1987) — Text processing and pattern matching (requires perl)
  • Python (1991) — Modern general-purpose programming (uses host Python)
  • JavaScript (1995) — Web scripting with ES6+ features (requires Node.js)

Professional IDE Interface

  • Menu System — File, Edit, Program, Debug, Test, Performance, Preferences, About
  • Syntax Highlighting — Real-time syntax coloring via Pygments (with plain-text fallback)
  • Word Completion — Language-aware suggestions as you type (Ctrl+Space lists every word)
  • Language Plugins — Add a runtime you already have (Ruby, Lua, Go, ...) with a small JSON manifest
  • Export Runner — Turn a program into a standalone .pyz that runs with nothing but Python
  • Web IDE — python Time_Warp.py --web serves the same editor and interpreters in a browser, with syntax highlighting, a turtle graphics canvas (RLE frames) and a REPL bar
  • Line Numbers — Always-visible line numbering for easy navigation
  • Integrated Editor — Code editing with undo/redo, find & replace (regex support)
  • Output Panel — Immediate program execution feedback
  • Turtle Graphics Canvas — Visual programming with integrated graphics display
  • Theme Support — 9 color themes (Light, Dark, Classic, Solarized Dark/Light, Monokai, Dracula, Nord, High Contrast) with persistence
  • Customizable Fonts — 7 font sizes (Tiny 8 pt to Giant 22 pt) plus system monospace families
  • Debug Tools — Debug mode toggle, breakpoint management, error history tracking
  • Performance Tools — Execution statistics, optimization, and profiling toggle
  • Settings Persistence — Theme, font, and preferences saved to ~/.timewarp_settings.json

Educational Focus

  • Enhanced Error Messages — Detailed error reporting with line numbers and context
  • Debug Tools — Set breakpoints with F9 (marked in the editor), debug mode, error history
  • Testing Framework — Built-in smoke tests and full test suite via menu
  • Example Programs — Comprehensive demos for every language
  • Immediate Feedback — Run code with F5 and stop it with Ctrl+. — results stream live
  • BASIC Direct Mode — Type statements in the Console bar (PRINT 2+2, LIST, RUN, RENUMBER) exactly like a classic home computer
  • Visual Programming — Logo turtle graphics for immediate visual learning

📦 Installation

Prerequisites

  • Python 3.9 or higher (tested up to 3.14)
  • tkinter (usually included with Python)
  • pip package manager
  • Node.js (optional — for JavaScript execution)
  • Perl (optional — for Perl execution)

Quick Start

  1. Clone the repository:

    git clone https://github.com/James-HoneyBadger/Time_Warp_Classic.git
    cd Time_Warp_Classic
    
  2. Launch with the setup script (recommended):

    python3 run.py
    

    This automatically creates a virtual environment, installs dependencies, and launches the IDE.

    Or use the platform-specific scripts:

    ./run.sh          # Linux / macOS
    run.bat            # Windows
    
  3. Or install manually:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
    python Time_Warp.py
    

See SETUP.md for detailed installation, troubleshooting, and advanced options.

📦 Releases

This repository publishes Python package releases through GitHub Actions using tag-based workflows:

  • Stable tags (vX.Y.Z) publish to PyPI
  • Prerelease tags (vX.Y.Z-rcN, vX.Y.Z-betaN, vX.Y.Z-alphaN) publish to TestPyPI

Tag Examples

# Prerelease to TestPyPI
git tag v1.3.2-rc1
git push origin v1.3.2-rc1

# Stable release to PyPI
git tag v1.3.2
git push origin v1.3.2

Workflows

  • Stable publish workflow: .github/workflows/publish-pypi.yml
  • Prerelease publish workflow: .github/workflows/publish-testpypi.yml
  • GitHub Packages (GHCR) workflow: .github/workflows/publish-ghcr.yml

GitHub Packages (GHCR)

GitHub Packages will show a published package after pushing a version tag (vX.Y.Z).

  • Package registry: ghcr.io
  • Package name: ghcr.io/james-honeybadger/time-warp-classic
# Pull latest stable image
docker pull ghcr.io/james-honeybadger/time-warp-classic:latest

# Run on Linux with X11 forwarding (GUI)
xhost +local:docker
docker run --rm \
  -e DISPLAY=$DISPLAY \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  ghcr.io/james-honeybadger/time-warp-classic:latest

Use a specific release image tag (for example v1.3.2) instead of latest when needed.

One-time setup: configure Trusted Publishers for this repository on both PyPI and TestPyPI, and ensure GitHub environments pypi and testpypi exist.

🧪 Testing

Time_Warp_Classic includes a comprehensive test suite to ensure code quality and reliability.

Running Tests

From Within the Application

Use the Test menu in the IDE:

  • Run Smoke Test — Quick functionality check (verifies all interpreters, menus, and example loading)
  • Run Full Test Suite — Complete test suite with verbose output (requires scripts/run_tests.py)

From Command Line

# Launch the IDE and use the Test menu
python Time_Warp.py

Test Approach

Time_Warp_Classic uses built-in smoke testing accessible through the IDE's Test menu. The smoke test verifies:

  • All 9 language interpreters initialize correctly
  • Menu and example file loading works
  • GUI components render properly

🚀 Getting Started

Using the GUI

When you launch Time_Warp.py, you'll see the main IDE interface:

  1. Select Language - Choose from the dropdown (PILOT, BASIC, Logo, etc.)
  2. Write Code - Use the left editor panel
  3. Run Program - Press F5 or click Run (the window stays responsive; Stop or Ctrl+. halts long runs)
  4. View Results - See output in the right panel and graphics below (the graphics pane appears for Logo and BASIC)
  5. Try Direct Mode - With BASIC selected, type PRINT 2+2 or RUN in the Console bar and press Enter

Quick Example

Try this Logo program:

REPEAT 4 [
  FORWARD 100
  RIGHT 90
]

Or this BASIC program:

10 PRINT "Hello from the past!"
20 FOR I = 1 TO 5
30   PRINT "Count: "; I
40 NEXT I
50 END

Loading Examples

Via Menu:

  1. Program → Load Example
  2. Select a language submenu
  3. Choose an example program

Via File Menu:

  1. File → Open File...
  2. Navigate to examples/[language]/
  3. Select an example file

📚 Documentation

User Documentation

Technical Documentation

Additional References

Language References

Individual reference docs for each language are in docs/languages/: PILOT, BASIC, Logo, Pascal, Prolog, Forth, Perl, Python, JavaScript.

🎨 Supported Languages

Vintage Languages (Built-in Interpreters)

PILOT (1968)

Computer-Assisted Instruction language designed for educational software.

T:Welcome to PILOT programming!
A:What is your name?
T:Hello, *NAME*!

BASIC (1964)

The classic beginner's language with line numbers and turtle graphics.

10 PRINT "Drawing a square..."
20 FOR I = 1 TO 4
30   FORWARD 100
40   RIGHT 90
50 NEXT I

Logo (1967)

Educational language famous for turtle graphics.

REPEAT 36 [
  FORWARD 100
  RIGHT 10
]

Pascal (1970)

Structured programming language emphasizing clear code.

program Hello;
begin
  WriteLn('Hello from Pascal!');
end.

Prolog (1972)

Logic programming with facts, rules, and queries.

parent(john, mary).
parent(john, tom).
sibling(X, Y) :- parent(P, X), parent(P, Y), X \= Y.

Forth (1970)

Stack-based concatenative programming language.

: SQUARE DUP * ;
5 SQUARE .

Modern Languages (External Runtime Executors)

Perl (1987)

Powerful text processing and scripting. Requires perl on PATH.

my @numbers = (1, 2, 3, 4, 5);
my $sum = 0;
$sum += $_ for @numbers;
print "Sum: $sum\n";

Python (1991)

Clean, readable general-purpose programming. Uses the host Python interpreter.

numbers = [1, 2, 3, 4, 5]
squares = [n**2 for n in numbers]
print(f"Squares: {squares}")

JavaScript (1995)

Modern web scripting with ES6+ features. Requires Node.js on PATH.

const numbers = [1, 2, 3, 4, 5];
const squares = numbers.map(n => n ** 2);
console.log(`Squares: ${squares}`);

�️ Project Structure

Time_Warp_Classic/
├── Time_Warp.py              # Thin entry point (launches gui.app.TimeWarpApp)
├── run.py                    # Cross-platform launcher with venv/dependency setup
├── run.sh / run.bat          # Platform-specific launcher scripts
├── README.md                 # This file
├── requirements.txt          # Runtime dependencies
├── requirements-dev.txt      # Test/format/lint dependencies
├── pyproject.toml            # Python project metadata and tool config
│
├── gui/                      # GUI package (tkinter IDE)
│   ├── app.py                # TimeWarpApp — main IDE window and layout
│   ├── menus.py              # Menu bar construction (8 menus)
│   ├── dialogs.py            # Find/Replace dialogs, About, error history
│   └── themes.py             # 9 themes, font sizes, extension mappings
│
├── core/                     # Core interpreter engine
│   ├── interpreter.py        # Time_WarpInterpreter — central execution engine
│   ├── stubs.py              # Placeholder classes (audio, games, hardware, IoT)
│   ├── languages/            # Language-specific executors
│   │   ├── base.py           # SubprocessExecutor base class
│   │   ├── pilot.py          # TwPilotExecutor (built-in)
│   │   ├── basic.py          # TwBasicExecutor (built-in)
│   │   ├── logo.py           # TwLogoExecutor (built-in)
│   │   ├── pascal.py         # TwPascalExecutor (built-in)
│   │   ├── prolog.py         # TwPrologExecutor (built-in)
│   │   ├── forth.py          # TwForthExecutor (built-in)
│   │   ├── perl.py           # PerlExecutor (subprocess → perl)
│   │   ├── python_executor.py # PythonExecutor (subprocess → python)
│   │   └── javascript_executor.py # JavaScriptExecutor (subprocess → node)
│   ├── features/
│   │   └── syntax_highlighting.py  # Pygments-based highlighting + line numbers
│   ├── optimizations/        # Performance optimizer, GUI optimizer, memory manager
│   └── utilities/            # Helper utilities
│
├── examples/                 # Example programs organized by language
│   ├── pilot/ basic/ logo/ pascal/ prolog/ forth/
│   ├── perl/ python/ javascript/
│   └── README.md             # Examples documentation
│
├── docs/                     # Comprehensive documentation
│   ├── README.md             # Documentation index
│   ├── INDEX.md              # Full doc suite navigation
│   ├── QUICK_START.md        # Quick start guide
│   ├── FAQ.md                # Frequently asked questions
│   ├── TROUBLESHOOTING.md    # Troubleshooting guide
│   ├── user/                 # User guides
│   │   └── LANGUAGE_TUTORIALS.md
│   ├── dev/                  # Developer docs
│   │   └── TECHNICAL_REFERENCE.md
│   └── languages/            # Per-language reference (9 files)
│
├── tests/                    # Test suite (pytest)
└── scripts/                  # Launcher and test-runner scripts

⌨️ Keyboard Shortcuts

Program Execution

  • F5 — Run current program
  • F9 — Set or clear a breakpoint on the current line (Debug menu)
  • Ctrl+. — Stop the running program (or use the red Stop button)

File Operations

  • Ctrl+N — New file
  • Ctrl+O — Open file
  • Ctrl+S — Save file (asks for a location the first time)
  • Ctrl+Shift+S — Save As
  • Ctrl+Q — Exit application

Editing

  • Ctrl+Z — Undo
  • Ctrl+Y — Redo
  • Ctrl+X — Cut
  • Ctrl+C — Copy
  • Ctrl+V — Paste
  • Ctrl+A — Select all
  • Ctrl+F — Find
  • Ctrl+H — Find & Replace

🎯 Use Cases

Education

  • Learn Programming Fundamentals - Start with PILOT or BASIC
  • Explore Programming Paradigms - Compare procedural, logic, and functional styles
  • Visual Learning - Use Logo for immediate visual feedback
  • Historical Perspective - Experience the evolution of programming languages

Hobbyist Programming

  • Retro Computing - Experience classic languages on modern hardware
  • Creative Coding - Use turtle graphics for artistic expression
  • Language Exploration - Try 9 languages without multiple installations
  • Quick Prototyping - Test algorithms in different paradigms

Teaching

  • Classroom Tool - Teach multiple languages with one IDE
  • Interactive Lessons - Use example programs as teaching aids
  • Comparative Learning - Show same concepts across languages
  • Hands-on Practice - Immediate execution and feedback

🔧 System Requirements

Minimum Requirements

  • OS: Windows 7+, macOS 10.12+, Linux (any modern distribution)
  • Python: 3.9 or higher
  • RAM: 512 MB
  • Display: 1024x768 or higher
  • OS: Windows 10+, macOS 11+, Fedora 40+, Ubuntu 22.04+
  • Python: 3.11 or higher
  • RAM: 2 GB
  • Display: 1920x1080 or higher

Required

  • tkinter — GUI framework (usually included with Python)
  • pygame-ce — Graphics and multimedia support (community edition; or pygame)
  • Pillow — Image processing features
  • Pygments — Syntax highlighting in the editor

Development Only

  • pytest — Testing framework
  • black — Code formatting
  • flake8 — Linting

All optional packages degrade gracefully — the IDE works without them, with reduced features noted at startup.


🤝 Contributing

Contributions are welcome! Please see TECHNICAL_REFERENCE.md for architecture details.

Quick Contributing Guide

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes and test thoroughly
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

Development Setup

# Clone your fork
git clone https://github.com/YOUR_USERNAME/Time_Warp_Classic.git
cd Time_Warp_Classic

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install all dependencies (runtime + dev tools)
pip install -r requirements-dev.txt

# Run tests
pytest

# Format code
black .

# Lint code
flake8

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

  • PILOT Language — Inspired by John Amsden Starkweather's original 1968 design
  • BASIC — Tribute to Kemeny and Kurtz's accessible programming vision
  • Logo — Honoring Seymour Papert's educational computing legacy
  • Pascal — Niklaus Wirth's vision of structured programming
  • Prolog — Alain Colmerauer's logic programming breakthrough
  • Forth — Charles H. Moore's elegantly minimal stack machine
  • Classic Computing Community — For keeping vintage computing alive
  • Open Source Contributors — Everyone who helps improve Time Warp

📞 Support

  • Documentation: See the docs/ directory
  • Issues: Report bugs on GitHub Issues
  • Questions: Check the FAQ first
  • Community: Share your programs and experiences!

🎓 Learning Resources

For Beginners

Start with PILOT or BASIC, then try Logo for visual programming.

For Intermediate Programmers

Explore Pascal for structured programming, then try Prolog for logic programming or Forth for stack-based thinking.

For Advanced Users

Compare implementations across all 9 languages, study the Technical Reference, or extend the interpreter with new features.


🚧 Roadmap

  • Syntax highlighting in editor (via Pygments)
  • Debug mode with breakpoints and error history
  • Comprehensive example programs for all 9 languages
  • Language tutorials and reference documentation
  • 9 color themes with persistence
  • Performance optimization system
  • Code completion and IntelliSense
  • Plugin system for custom languages
  • Export programs to standalone executables
  • Web-based version

Time Warp Classic — Programming Through the Ages 🕰️

© 2025–2026 Honey Badger Universe | Educational Software

Metadata

Release files for timewarp-classic 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timewarp-classic 1.5.0
File Size Uploaded Provenance Actions
timewarp_classic-1.5.0.tar.gz 347.5 kB With provenance Details for timewarp_classic-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timewarp-classic 1.5.0
File Interpreter ABI Platform Actions
timewarp_classic-1.5.0-py3-none-any.whl Python 3 none any Details for timewarp_classic-1.5.0-py3-none-any.whl

Total release size: 603.5 kB

Release files / timewarp_classic-1.5.0.tar.gz

Download URL timewarp_classic-1.5.0.tar.gz
Size 347.5 kB
Tags Source
SHA-256 checksum
How to use checksums
29d4f1eb839d9e96fed69cd03f7c15ce736bca890d6c20c7c46c60795e94e6d0
BLAKE2b-256 checksum
How to use checksums
909e1f5cf1e4643d8591edc872d2d08976901e00531b2c0a307dd64a1a8fce7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / timewarp_classic-1.5.0-py3-none-any.whl

Download URL timewarp_classic-1.5.0-py3-none-any.whl
Size 256.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65b819df7866bac176b0a0c620c078e7b8252a39796389541b1918a7a18269a0
BLAKE2b-256 checksum
How to use checksums
c20b5f6c9756f67dce651fed0eb9b19c8237ea79deed2fa1edab5404afb8277d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for timewarp-classic 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for timewarp_classic-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page