Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

richgrov/Eyethon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eyethon

(pronounced "eye-thon")

A lightweight, embeddable, inspectable Python interpreter

Why?

In the age of AI, writing code will be a task more for machines rather than humans. Models excel at writing Python, but it performance and lack of portability restrict its use. Eyethon aims to interpret a subset of Python that's not only runnable, but who's syntax tree is inspectable to be converted to other languages, formats, or domains.

Goals and non-goals

Eyethon hopes to:

  • Be very lightweight
  • Support some of Python's standard library
  • Provide an API for running and inspecting code

MicroGD does not hope to:

  • Use Just-in-time compilation
  • Adhere 100% to every detail of Python (although this would be ideal)

Roadmap

  • ✅ Tokenization (97% passing)
  • ✅ Parsing (55% passing)
  • 🔄 Compiling
  • 🔄 Interpreting
  • ❌ Optimization
  • 🔄 Rust and C API
  • ❌ LSP
  • ❌ Debugger

Eyethon uses tests from PocketPy to test spec compliance.

For now, working features are prioritized over performance and 100% compatibility.

About

A lightweight, embeddable Python interpreter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published