1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample
matz 0082edfd3d * eval.c (massign): removed awkward conversion between yvalue,
mvalue, etc.

* eval.c (rb_yield_0): new parameter added to tell whether val is
  an array value or not.

* parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2,
  NODE_SVALUE; removed node: NODE_RESTARGS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 03:24:29 +00:00
..
biorhythm.rb Strive to give better examples. 2002-12-19 20:26:16 +00:00
cal.rb updated to the new version (based on date2 3.3). 2002-06-22 15:26:58 +00:00
cbreak.rb
clnt.rb Strive to give better examples. 2002-12-19 20:26:16 +00:00
dbmtest.rb
dir.rb The use of $_ and ~/RE/ is discouraged. 2002-12-19 20:30:05 +00:00
dualstack-fetch.rb * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:22:18 +00:00
dualstack-httpd.rb
eval.rb Improve. 2002-12-19 20:42:50 +00:00
export.rb
exyacc.rb
fact.rb Improve. 2002-12-19 20:42:50 +00:00
fib.awk
fib.pl
fib.py
fib.rb
fib.scm
freq.rb
from.rb
fullpath.rb Fix a bug. 2002-12-19 20:39:26 +00:00
getopts.test
goodfriday.rb updated to the new version (based on date2 3.3). 2002-06-22 15:26:58 +00:00
less.rb
list.rb
list2.rb
list3.rb
mine.rb
mkproto.rb * sample/mkproto.rb: ditto and fix bug. 2002-07-26 07:47:50 +00:00
mpart.rb
mrshtest.rb
observ.rb
occur.pl
occur.rb Be consistent on the use of the implicit $_. 2002-12-19 20:45:24 +00:00
occur2.rb Improve. 2002-12-19 20:56:37 +00:00
philos.rb
pi.rb Improve. 2002-12-19 20:56:37 +00:00
rcs.awk
rcs.dat
rcs.rb Improve. 2002-12-19 20:56:37 +00:00
README
regx.rb
sieve.rb * re.c (rb_reg_expr_str): need to process backslashes properly. 2002-06-28 14:42:46 +00:00
svr.rb Strive to give better examples. 2002-12-19 20:26:16 +00:00
test.rb * eval.c (massign): removed awkward conversion between yvalue, 2003-01-01 03:24:29 +00:00
time.rb Improve. 2002-12-19 20:56:37 +00:00
trojan.rb Improve. 2002-12-19 20:56:37 +00:00
tsvr.rb Improve. 2002-12-19 20:56:37 +00:00
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 protptype 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