mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-27 00:39:41 +03:00
9fd32b8cdf
git-svn-id: svn://kolibrios.org@1913 a494cfbc-eb01-0410-851d-a64ba20cac60
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
tinypy is a minimalist implementation of python in 64k of code
|
|
|
|
"batteries not included (yet)"
|
|
"lua for people who like python"
|
|
|
|
what tinypy is:
|
|
* 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 / macosx
|
|
* 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
|
|
- an easy C-API for building modules
|
|
- 64k of code (for at least some definition of 64k)
|
|
- interesting, educational, nifty, and useful
|
|
- well tested
|
|
- easy to read, maintain, and use
|
|
- fun fun fun!!!
|
|
- you can static compile it and its modules (MIT license, so "it's all good!")
|
|
|
|
what tinypy will be:
|
|
- sandboxed
|
|
- a Cpython module (setup.py install)
|
|
- including some batteries (math, random, re, marshal, pygame?!)
|
|
- Visual Studio compatible
|
|
- documented
|
|
|
|
what tinypy might be:
|
|
- as fast as python (maybe faster?)
|
|
- including a JIT module
|
|
- C89 compatible
|
|
- C++ compatible (like lua)
|
|
- a shed-skin module
|
|
- including a dynamic loading module
|
|
|
|
what tinypy won't be:
|
|
- a full implementation of python
|
|
- totally compatible with python
|
|
|
|
alternatives to tinypy:
|
|
- lua
|
|
- shed-skin
|
|
- pymite
|
|
- pyvm
|
|
- cython
|
|
- pypy
|
|
- jython
|
|
- ironpython
|
|
- python
|