1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample
Kevin Newton f4b88959d5 Clean up lambda output from exyacc.rb
The `lambda_body` grammar rule has a `"}"`, which is throwing off the `exyacc.rb` regular expressions. This changes the regular expression to account for `"}"` as well, which makes the output of `ruby sample/exyacc.rb < parse.y` change by the following diff:

```diff
632,634d631
< 		    ", &@3);
< 			$$ = $2;
< 		    }
```

Which makes it closer to a valid EBNF.
2021-08-25 18:23:56 -07:00
..
drb
logger
openssl
optparse
pty
rdoc/markup
ripper
trick2013
trick2015
trick2018
benchmark.rb
biorhythm.rb
cal.rb
cbreak.rb
cgi-session-pstore.rb
clnt.rb
coverage.rb
delegate.rb
dir.rb
dualstack-fetch.rb
dualstack-httpd.rb
eval.rb
export.rb
exyacc.rb Clean up lambda output from exyacc.rb 2021-08-25 18:23:56 -07:00
fact.rb
fib.awk
fib.pl
fib.py
fib.rb
fib.scm
from.rb
fullpath.rb
iseq_loader.rb
less.rb
list.rb
list2.rb
list3.rb
mine.rb
mkproto.rb
mpart.rb
net-imap.rb
observ.rb
occur.pl
occur.rb
open3.rb
philos.rb
pi.rb
pstore.rb
rcs.awk
rcs.dat
rcs.rb
README
rinda-ring.rb
sieve.rb
simple-bench.rb
svr.rb
tempfile.rb
test.rb
time.rb
timeout.rb
trojan.rb
tsvr.rb
uumerge.rb
weakref.rb

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
coverage.rb	simple test code coverage tool
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
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)
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
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
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
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
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
timeout.rb	timeout test
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