1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample
ko1 affa7430b7 * compile.c, vm_macro.def: support tail call optimization
(on default, this feature is not enabled).
* iseq.c, compile.c, vm_opts.h: add "tailcall_optimization"
  option.
* sample/test.rb (test_ok): fix to adjust tailcall stack layout.
* insns.def, vm.c, compile.c, yarvcore.c, yarvcore.h:
  add opt_gt, opt_le instructions.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-21 04:46:51 +00:00
..
drb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
logger * lib/logger.rb: new file. Logger, formerly called devel-logger or 2003-09-18 06:31:25 +00:00
openssl * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5. 2006-10-05 19:31:50 +00:00
optparse * parse.y (block_param): restrict block parameters to be local 2006-10-03 15:59:45 +00:00
ripper * sample/ripper/colorize.rb: removed (replaced by ruby2html.rb). 2005-09-23 22:59:57 +00:00
rss * lib/rss, test/rss: 2007-03-17 10:13:25 +00:00
testunit * test/testunit/*: Added. 2003-09-19 02:48:46 +00:00
webrick * sample/webrick/httpsd.rb: fix typo in comment. suggested by 2005-03-07 12:34:20 +00:00
biorhythm.rb
cal.rb synchronized with date2 3.6.1 2004-09-25 23:10:36 +00:00
cbreak.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
clnt.rb
dbmtest.rb
dir.rb
dualstack-fetch.rb
dualstack-httpd.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
eval.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
export.rb
exyacc.rb * sample/exyacc.rb: escape '}' to avoid warning. 2004-01-19 13:27:38 +00:00
fact.rb
fib.awk
fib.pl
fib.py
fib.rb
fib.scm
freq.rb
from.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
fullpath.rb
getopts.test
goodfriday.rb
less.rb
list.rb
list2.rb
list3.rb
mine.rb
mkproto.rb
mpart.rb
mrshtest.rb
observ.rb
occur.pl
occur.rb * lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into 2006-09-01 00:37:09 +00:00
occur2.rb
philos.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
pi.rb
rcs.awk
rcs.dat
rcs.rb
README
regx.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
sieve.rb
svr.rb * object.c (rb_obj_pattern_match): now returns nil. 2005-07-06 09:47:08 +00:00
test.rb * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
time.rb
trojan.rb
tsvr.rb
uumerge.rb

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
dbmtest.rb	test for dbm
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
dstore.rb	object database on dbm
eval.rb		simple evaluator
export.rb	method access example
exyacc.rb	extrace BNF from yacc file
fact.rb		factorial calculator
fib.awk		Fibonacci number (AWK)
fib.pl		Fibonacci number (Perl)
fib.py		Fibonacci number (Python)
fib.rb		Fibonacci number (Ruby)
fib.scm		Fibonacci number (Scheme)
freq.rb		count word occurrence
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
getopts.test	test fot getopt.rb
goodfriday.rb	print various christian calendar event.
io.rb		io test
irb.rb		interactive ruby
less.rb		front end for less
list.rb		stupid object sample
list2.rb	stupid object sample
list3.rb	stupid object sample
mine.rb		simple mine sweeper	
mkproto.rb     extract prototype from C
mpart.rb	split file int multi part
mrshtest.rb	test marshal
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
occur2.rb	count word occurrence - another style
philos.rb	famous dining philosophers
pi.rb		calculate PI
rcs.awk		random character stereogram (AWK)
rcs.rb		random character stereogram (Ruby)
rcs.dat		data for random character stereogram
rd2html.rb	rd (Ruby Document) to HTML translator
regx.rb		regular expression tester
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
trojan.rb	simple tool to find file that may be trojan horse.
tsvr.rb		socket server using thread
uumerge.rb	merge files and uudecode them