Jul 20, 2023

Minimalist implementation of python in 64k of code

tinypy is a minimalist implementation of python in 64k of code

it includes a whole heap of features

  • parser and bytecode compiler written in tinypy
  • fully bootstrapped
  • luaesque virtual machine with garbage collection written in C it’s “stackless” sans any “stackless” features
  • cross-platform it runs under Windows / Linux / OS X
  • a fairly decent subset of python o classes and single inheritance o functions with variable or keyword arguments o strings, lists, dicts, numbers o modules, list comprehensions o exceptions with full traceback o some builtins
  • batteries not included – yet

WWW http//www.tinypy.org/

Checkout these related ports:
  • Zig - Language designed for robustness, optimality, and maintainability
  • Zephir - Zephir is a transpiled language used for creating C-extensions for PHP
  • Ypsilon - Scheme implementation for real-time applications
  • Yorick - Interpreted language for scientific simulations
  • Yap - High-performance Prolog compiler
  • Yap-devel - High-performance Prolog compiler
  • Yabasic - Yet another Basic for Unix and Windows
  • Voc - Vishap Oberon Compiler for Oberon-2
  • Vala - Programming language and compiler that converts Vala code into C code
  • V8 - Open source JavaScript engine by Google
  • V8-beta - Open source JavaScript engine by Google
  • V - V Programming Language
  • Urweb - Ultimate host for embedded domain-specific languages
  • Ucc - C Compiler Which Implements the ANSI C89 Standard
  • Twelf - Meta-logical framework for deductive systems