The Ruby Programming Language [mirror]
Go to file
ko1 b982cff67c * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),
insnhelper.ci (vm_call_method): fix to save safelevel for
  method node.
* include/ruby/node.h: ditto.
* bootstraptest/test_method.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-17 12:25:47 +00:00
bcc32
benchmark
bin
bootstraptest * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
cygwin
djgpp
doc
ext * configure.in (aix): enable shared by default. 2007-08-16 07:46:11 +00:00
include * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
lib update Dir.mktmpdir document. 2007-08-16 04:30:18 +00:00
misc
missing
sample * compile.c (iseq_compile_each): fix next/redo stack consistency. 2007-08-16 13:12:24 +00:00
template * template/yasmdata.rb.tmpl: fix type and name. 2007-08-12 19:02:30 +00:00
test fix "&" handling in block parameter. 2007-08-16 12:07:29 +00:00
tool * common.mk (node_name.inc): auto-generate node name list. 2007-08-06 04:09:56 +00:00
vms
win32
wince
x68
yarvtest
.cvsignore
.document
.gdbinit * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound 2007-08-16 22:22:24 +00:00
COPYING
COPYING.ja
ChangeLog * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
GPL
LEGAL
LGPL
Makefile.in
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c * enum.c (enum_zip): zip no longer converts arguments into 2007-08-06 16:53:36 +00:00
ascii.c
bignum.c * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound 2007-08-16 22:22:24 +00:00
blockinlining.c
class.c
common.mk * common.mk: change test order (test -> btest). 2007-08-14 10:53:06 +00:00
compar.c
compile.c * compile.c (iseq_compile_each): fix thorw insn option of next. 2007-08-16 18:12:02 +00:00
compile.h
config.guess
config.sub
configure.in * configure.in (BASERUBY): need AC_SUBST. [ruby-dev:31438] 2007-08-16 12:16:14 +00:00
cont.c * cont.c (rb_fiber_m_yield): added. use this function 2007-08-15 17:56:22 +00:00
debug.c * parse.y: fix rules around f_margs. "make test" passes all tests. 2007-08-15 04:52:56 +00:00
debug.h
dir.c
distruby.rb
dln.c * dln.c (load_1, dln_find_1): constified. 2007-07-26 04:57:48 +00:00
dln.h
dmydln.c
dmyext.c
enum.c * enum.c (enum_cycle): typo fixed. a patch from Kazuhiro 2007-08-08 17:03:33 +00:00
enumerator.c * enumerator.c (enumerator_next_p): should check correctly even when 2007-08-08 07:07:03 +00:00
error.c
euc_jp.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
eval.c * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
eval_error.ci
eval_intern.h * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move 2007-08-14 10:53:53 +00:00
eval_jump.ci
eval_load.c
eval_method.ci * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
eval_safe.ci
file.c
gc.c * gc.c (os_live_obj): fix to skip T_VALUES. 2007-08-15 09:58:59 +00:00
gc.h
hash.c * hash.c (rb_hash_delete_key): delete the entry without calling block. 2007-08-15 04:50:12 +00:00
ia64.s
id.c
id.h
inits.c * inits.c (rb_call_inits): change initializing order. 2007-08-15 07:50:11 +00:00
insnhelper.ci * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias), 2007-08-17 12:25:47 +00:00
insnhelper.h * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move 2007-08-14 10:53:53 +00:00
insns.def * insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361] 2007-08-16 16:24:18 +00:00
install-sh
instruby.rb
io.c * io.c (argf_readpartial): argf_forward needs argc and argv. 2007-08-15 21:29:10 +00:00
iseq.c * iseq.c (ruby_iseq_disasm): fix to show arg_simple value. 2007-08-16 16:25:30 +00:00
keywords
lex.c.blt
main.c
marshal.c
math.c
mdoc2man.rb
mkconfig.rb
numeric.c
object.c
opt_insn_unif.def
opt_operand.def
pack.c
parse.y * parse.y: remove "//" type comment. 2007-08-15 05:22:44 +00:00
prec.c
proc.c * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move 2007-08-14 10:53:53 +00:00
process.c * process.c (proc_geteuid): fix strange cast. [ruby-dev:31417] 2007-08-15 04:42:19 +00:00
random.c
range.c * range.c (range_eqq): call_super() in === does not work well 2007-07-26 13:37:13 +00:00
re.c * re.c (option_to_str, arg_kcode, opt_kcode): options conversion 2007-08-02 14:42:59 +00:00
regcomp.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regenc.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regenc.h * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regerror.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regexec.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regint.h * regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve old 2007-07-23 16:11:37 +00:00
regparse.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regparse.h * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
regsyntax.c
ruby.1
ruby.c * dln.c (load_1, dln_find_1): constified. 2007-07-26 04:57:48 +00:00
rubytest.rb
runruby.rb
signal.c
sjis.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
sprintf.c * bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound 2007-08-16 22:22:24 +00:00
st.c
string.c
struct.c
thread.c * thread.c (rb_thread_terminate_all): fix to ignore 2007-08-17 07:24:03 +00:00
thread_pthread.ci * thread.c (thread_create_core): inherit the priority of creating 2007-08-10 14:54:50 +00:00
thread_pthread.h
thread_win32.ci
thread_win32.h
time.c
unicode.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
utf8.c * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes 2007-07-23 09:39:30 +00:00
util.c
variable.c
version.c
version.h * insns.def (throw): insert a RUBY_VM_CHECK_INTS(). [ruby-dev:31361] 2007-08-16 16:24:18 +00:00
vm.c * configure.in (aix): enable shared by default. 2007-08-16 07:46:11 +00:00
vm.h * vm_dump.c (debug_print_pre): fix to show control frame count. 2007-08-12 19:09:15 +00:00
vm_core.h
vm_dump.c * vm_dump.c (debug_print_pre): fix to show control frame count. 2007-08-12 19:09:15 +00:00
vm_evalbody.ci * insnhelper.ci, insns.def: move some statements to functions. 2007-08-06 11:36:30 +00:00
vm_opts.h

README

* What's Ruby

Ruby is the interpreted scripting language for quick and
easy object-oriented programming.  It has many features to
process text files and to do system management tasks (as in
Perl).  It is simple, straight-forward, and extensible.


* Features of Ruby

  + Simple Syntax
  + *Normal* Object-Oriented features(ex. class, method calls)
  + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files(on some architecture)
  + Highly Portable(works on many UNIX machines, and on DOS,
    Windows, Mac, BeOS etc.)


* How to get Ruby

The Ruby distribution files can be found in the following FTP site:

  ftp://ftp.ruby-lang.org/pub/ruby/

The trunk of the Ruby source tree can be checked out with the
following command:

  $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby

There are some other branches under development.  Try the following
command and see the list of branches:

  $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/


* Ruby home-page

The URL of the Ruby home-page is:

   http://www.ruby-lang.org/


* Mailing list

There is a mailing list to talk about Ruby.
To subscribe this list, please send the following phrase

	subscribe YourFirstName YourFamilyName
e.g.
        subscribe Joseph Smith

in the mail body (not subject) to the address <ruby-talk-ctl@ruby-lang.org>.


* How to compile and install

This is what you need to do to compile and install Ruby:

  1. If ./configure does not exist or is older than configure.in,
     run autoconf to (re)generate configure.

  2. Run ./configure, which will generate config.h and Makefile.

  3. Edit defines.h if you need.  Usually this step will not be needed.

  4. Remove comment mark(#) before the module names from ext/Setup (or
     add module names if not present), if you want to link modules
     statically.

     If you don't want to compile non static extension modules
     (probably on architectures which does not allow dynamic loading),
     remove comment mark from the line "#option nodynamic" in
     ext/Setup.

  5. Run make.

  6. Optionally, run 'make test' to check whether the compiled Ruby
     interpreter works well.  If you see the message "test succeeded",
     your ruby works as it should (hopefully).

  7. Run 'make install'

     You may have to be a super user to install ruby.

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.


* Copying

See the file COPYING.


* The Author

Feel free to send comments and bug reports to the author.  Here is the 
author's latest mail address:

  matz@netlab.jp

-------------------------------------------------------
created at: Thu Aug  3 11:57:36 JST 1995
Local variables:
mode: indented-text
end: