This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
tinyrb /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Apr 11 14:16:30 -0700 2009 | |
| |
Makefile | Wed Apr 15 18:57:59 -0700 2009 | |
| |
README.rdoc | Thu Apr 09 17:19:19 -0700 2009 | |
| |
SPEC | Sat Apr 04 09:54:44 -0700 2009 | |
| |
TODO | Sun May 03 09:25:19 -0700 2009 | |
| |
bench/ | Thu Apr 09 17:19:39 -0700 2009 | |
| |
lib/ | Mon Apr 20 18:11:20 -0700 2009 | |
| |
site/ | Tue Mar 10 21:04:55 -0700 2009 | |
| |
test/ | Sun May 03 09:25:19 -0700 2009 | |
| |
vendor/ | Thu Apr 09 17:18:50 -0700 2009 | |
| |
vm/ | Fri Jun 05 05:47:39 -0700 2009 |
README.rdoc
tinyrb
A tiny subset of Ruby with a Lua’esc VM.
Everything in TinyRb should run in the big Ruby. (except bugs and things that don’t comply to the principle of least surprise.) But not everything in the big Ruby should run in tinyrb.
This is a work in progress and not usable for "real things" yet. See TODO for a couple of those things that need to be done.
github.com/macournoyer/tinyrb #tinyrb on freenode
Install
make make test # optional ./tinyrb -h
What WON’T be in tinyrb (tiny patches accepted)
- for
- redo, retry
- if … do, while … do, etc
- alias keyword (see alias_method)
- undef keyword (see undefine_method)
- throw, catch
- Alternate string delimiters (%q, %Q, etc.)
- heredoc strings
- Parallel assignment (a, b = 1, 2)
- :: as . (Class::new)
- Character code literal (?c)
- protected, private, public (yes everything is public, mind you)
- ObjectSpace
- $SAFE (but Sandbox mode at the VM level)
- … others to come for sure.
Credits
Inspired by:
- lua, www.lua.org
- tinypy, tinypy.org
- potion, github.com/why/potion
kvec.h and khash.h © 2008, by Attractive Chaos <attractivechaos@aol.co.uk> GC Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers PCRE Copyright © 1997-2008 University of Cambridge released under BSD license
tinyrb is Copyright © Marc-Andre Cournoyer <macournoyer@gmail.com> and released under Ruby license







