The Ruby Programming Language [mirror]
Go to file
matz 8707a6ff4b * object.c (rb_cstr_to_dbl): should clear errno before calling
strtod(3).  [ruby-dev:34834]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-24 13:39:18 +00:00
bcc32
benchmark * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. 2008-05-19 03:08:50 +00:00
bin
bootstraptest add a test for [ruby-dev:34679]. 2008-05-24 01:57:02 +00:00
cygwin
djgpp
doc
enc
ext * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added. 2008-05-21 21:23:51 +00:00
include * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h, 2008-05-22 16:19:14 +00:00
lib * lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739] 2008-05-21 17:47:33 +00:00
misc
missing
sample
template
test add a test for [ruby-dev:34828]. 2008-05-24 01:48:21 +00:00
tool * vm_core.h (rb_num_t): moved form vm.h. 2008-05-23 03:23:08 +00:00
vms
win32 * process.c, include/ruby/intern.h (rb_run_exec_options): externed. 2008-05-12 14:15:32 +00:00
wince
x68
yarvtest
.cvsignore
.document
.gdbinit * .gdbinit (rp): T_VALUES is no longer defined. 2008-05-23 02:38:02 +00:00
COPYING
COPYING.ja
ChangeLog * object.c (rb_cstr_to_dbl): should clear errno before calling 2008-05-24 13:39:18 +00:00
GPL
LEGAL
LGPL
Makefile.in * configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb. 2008-05-08 07:41:23 +00:00
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c * array.c (rb_ary_slice_bang): Be consistent with Array#slice() 2008-05-23 09:01:19 +00:00
bignum.c * bignum.c (bigzero_p): check from MSB to LSB. [ruby-dev:34649] 2008-05-12 04:44:13 +00:00
blockinlining.c
class.c
common.mk * regparse.c (PINC): use optimized enclen() instead of 2008-05-19 08:25:03 +00:00
compar.c
compile.c * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove 2008-05-24 06:29:48 +00:00
compile.h
complex.c * math.c (to_flo): rb_Float() accepts even strings for input. 2008-05-16 04:17:45 +00:00
config.guess
config.sub
configure.in * configure.in (MINIRUBY): should not include extension library path. 2008-05-11 08:57:40 +00:00
cont.c * cont.c (cont_restore_0): dynamic stack direction code should be 2008-05-08 22:48:38 +00:00
debug.c * eval_intern.h (enum ruby_tag_type): enum for debug. 2008-05-08 06:56:59 +00:00
debug.h
dir.c * file.c (file_expand_path): support for alternative data stream 2008-05-15 06:34:02 +00:00
distruby.rb
dln.c * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions. 2008-05-07 21:43:54 +00:00
dln.h * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions. 2008-05-07 21:43:54 +00:00
dmydln.c
dmyencoding.c
dmyext.c
encoding.c * fix for (rb_enc_get_index(obj) == idx) case. 2008-05-20 22:50:01 +00:00
enum.c * enum.c (enum_yield): use rb_yield_values2. 2008-05-13 14:32:46 +00:00
enumerator.c * enumerator.c (Init_Enumerator): Override 2008-05-23 07:47:54 +00:00
error.c
eval.c * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h, 2008-05-22 16:19:14 +00:00
eval_error.c
eval_intern.h * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h, 2008-05-22 16:19:14 +00:00
eval_jump.c
eval_method.c * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. 2008-05-19 03:08:50 +00:00
eval_safe.c
file.c * file.c (file_expand_path): fix for short file name on Cygwin. 2008-05-17 14:54:07 +00:00
gc.c * include/ruby/ruby.h (PRI[diouxX]VALUE): printf format for VALUE. 2008-05-20 02:36:09 +00:00
gc.h
gem_prelude.rb * ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined 2008-05-12 01:52:53 +00:00
golf_prelude.rb
goruby.c
hash.c
ia64.s
id.c
id.h
inits.c
insnhelper.h
insns.def * insns.def (opt_gt|ge|lt|le): use values directly to compare. 2008-05-22 17:31:15 +00:00
install-sh
instruby.rb
io.c * io.c (rb_f_gets.): re-enable rdoc. 2008-05-12 23:27:17 +00:00
iseq.c * iseq.c (rb_iseq_compile_with_option): get rid of segv. 2008-05-22 21:15:23 +00:00
keywords
lex.c.blt
lex.c.src
load.c * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. 2008-05-19 03:08:50 +00:00
main.c
marshal.c * marshal.c (check_dump_arg, check_load_arg): check if reentered. 2008-05-22 11:20:56 +00:00
math.c * math.c (to_flo): rb_Float() accepts even strings for input. 2008-05-16 04:17:45 +00:00
mdoc2man.rb
mkconfig.rb
numeric.c * numeric.c (bit_coerce): float should not be a valid operand of 2008-05-07 13:24:55 +00:00
object.c * object.c (rb_cstr_to_dbl): should clear errno before calling 2008-05-24 13:39:18 +00:00
opt_insn_unif.def
opt_operand.def
pack.c * pack.c (pack_pack): check errno to detect error of ruby_strtoul. 2008-05-17 17:56:41 +00:00
parse.y * parse.y (assignable_gen): when "self = 1" was evalueted, unnecessary 2008-05-19 16:14:30 +00:00
prec.c
prelude.rb
proc.c * proc.c (proc_dup): should copy safe_level from src proc 2008-05-21 20:47:26 +00:00
process.c * process.c (rb_spawn_internal): set last_status when status == -1 2008-05-19 04:26:43 +00:00
random.c
range.c
rational.c * bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN. 2008-05-07 04:14:57 +00:00
re.c * regparse.c (PINC): use optimized enclen() instead of 2008-05-19 08:25:03 +00:00
regcomp.c
regenc.c
regenc.h * regparse.c (PINC): use optimized enclen() instead of 2008-05-19 08:25:03 +00:00
regerror.c
regexec.c * regexec.c (slow_search): check the case when the length is 1. 2008-05-19 14:21:15 +00:00
regint.h
regparse.c * regparse.c (PINC): use optimized enclen() instead of 2008-05-19 08:25:03 +00:00
regparse.h
regsyntax.c
ruby.1
ruby.c * ruby.c (process_options): --dump option exit immediately. 2008-05-20 04:19:27 +00:00
rubytest.rb
runruby.rb
signal.c
sprintf.c
st.c
string.c * string.c (rb_usascii_str_new): use rb_str_new. 2008-05-20 22:48:49 +00:00
struct.c * struct.c (rb_struct_s_def): Struct.new(0) should not SEGV. 2008-05-05 10:52:44 +00:00
thread.c * thread.c (thread_cleanup_func_before_exec): extracted from 2008-05-11 04:15:29 +00:00
thread_pthread.c * thread_pthread.c (native_thread_apply_priority): 2008-05-19 12:09:14 +00:00
thread_pthread.h
thread_win32.c
thread_win32.h
time.c * time.c (obj2nsec): fix string argument. 2008-05-04 07:05:26 +00:00
transcode.c * transcode.c (rb_str_transcode): argc is 1, and argv is &to. 2008-05-23 23:15:14 +00:00
transcode_data.h
util.c
variable.c
version.c
version.h * transcode.c (rb_str_transcode): argc is 1, and argv is &to. 2008-05-23 23:15:14 +00:00
vm.c * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove 2008-05-24 06:29:48 +00:00
vm.h * vm_core.h (rb_num_t): moved form vm.h. 2008-05-23 03:23:08 +00:00
vm_core.h * vm_core.h (rb_num_t): moved form vm.h. 2008-05-23 03:23:08 +00:00
vm_dump.c * vm_dump.c (vm_stack_dump_raw): suppress warnings. 2008-05-23 03:25:30 +00:00
vm_evalbody.c
vm_insnhelper.c * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove 2008-05-24 06:29:48 +00:00
vm_opts.h * eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const". 2008-05-22 04:28:13 +00:00

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: