1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample
nobu 33061b45b4 * eval.c (rb_eval): NODE_EVSTR is no longer used.
* eval.c (eval): not enforce to make assigned variables dynamic.

* parse.y (string): split rules to strings/xstring/regexp to allow
  arbitrary statements inside string interpolation.

* parse.y (here_document): splitted into three phases.

* parse.y (literall_append, literal_concat): added.
  append/concatinate string literals.

* sample/test.rb (valid_syntax): adjust line number for BEGIN.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 07:20:42 +00:00
..
biorhythm.rb * eval.c (rb_eval): ruby_frame->last_func may be null, if it's 2002-06-11 07:02:23 +00:00
cal.rb updated to the new version (based on date2 3.3). 2002-06-22 15:26:58 +00:00
cbreak.rb Initial revision 1998-01-16 12:19:09 +00:00
clnt.rb Initial revision 1998-01-16 12:13:05 +00:00
dbmtest.rb Initial revision 1998-01-16 12:13:05 +00:00
dir.rb Initial revision 1998-01-16 12:13:05 +00:00
dualstack-fetch.rb Synchronize MANIFEST with reality. Add missing files. 2001-05-26 03:38:39 +00:00
dualstack-httpd.rb Synchronize MANIFEST with reality. Add missing files. 2001-05-26 03:38:39 +00:00
eval.rb 2000-03-23 2000-03-23 08:37:35 +00:00
export.rb Initial revision 1998-01-16 12:13:05 +00:00
exyacc.rb This commit was generated by cvs2svn to compensate for changes in r11, 1998-01-16 12:19:22 +00:00
fact.rb This commit was generated by cvs2svn to compensate for changes in r11, 1998-01-16 12:19:22 +00:00
fib.awk Initial revision 1998-01-16 12:13:05 +00:00
fib.pl 2000-02-23 2000-02-23 05:23:12 +00:00
fib.py 1.4.0 1999-08-13 05:45:20 +00:00
fib.rb Initial revision 1998-01-16 12:13:05 +00:00
fib.scm matz 2000-11-27 09:23:38 +00:00
freq.rb 19991129 1999-11-29 06:33:02 +00:00
from.rb matz 2000-10-10 07:03:36 +00:00
fullpath.rb changes from personal modifies -- matz 2000-12-28 05:00:47 +00:00
getopts.test Initial revision 1998-01-16 12:13:05 +00:00
goodfriday.rb updated to the new version (based on date2 3.3). 2002-06-22 15:26:58 +00:00
irb.rb Merge from irb 0.7.3. 2001-04-30 17:54:55 +00:00
less.rb Initial revision 1998-01-16 12:13:05 +00:00
list.rb 1.4.0 1999-08-13 05:45:20 +00:00
list2.rb Initial revision 1998-01-16 12:13:05 +00:00
list3.rb Initial revision 1998-01-16 12:13:05 +00:00
mine.rb 19991201 1999-12-01 09:24:48 +00:00
mkproto.rb changes from personal modifies -- matz 2000-12-28 05:00:47 +00:00
mpart.rb 20000105 2000-01-05 04:41:21 +00:00
mrshtest.rb 000919 2000-09-19 07:54:28 +00:00
observ.rb This commit was generated by cvs2svn to compensate for changes in r372, 1999-01-20 04:59:39 +00:00
occur.pl Initial revision 1998-01-16 12:13:05 +00:00
occur.rb This commit was generated by cvs2svn to compensate for changes in r372, 1999-01-20 04:59:39 +00:00
occur2.rb matz 2000-10-02 07:48:42 +00:00
philos.rb matz 2000-09-27 09:11:13 +00:00
pi.rb Initial revision 1998-01-16 12:13:05 +00:00
rcs.awk Initial revision 1998-01-16 12:13:05 +00:00
rcs.dat Initial revision 1998-01-16 12:13:05 +00:00
rcs.rb 1.4.0 1999-08-13 05:45:20 +00:00
README 1.4.1 1999-09-16 09:40:33 +00:00
regx.rb Initial revision 1998-01-16 12:13:05 +00:00
sieve.rb 1.4.0 1999-08-13 05:45:20 +00:00
svr.rb matz 2000-11-16 07:24:21 +00:00
test.rb * eval.c (rb_eval): NODE_EVSTR is no longer used. 2002-06-24 07:20:42 +00:00
time.rb matz 2000-09-15 06:00:30 +00:00
trojan.rb 1.4.0 1999-08-13 05:45:20 +00:00
tsvr.rb matz 2000-11-16 07:24:21 +00:00
uumerge.rb changes from personal modifies -- matz 2000-12-28 05:00:47 +00:00

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