The Ruby Programming Language [mirror]
Go to file
shyouhei 076c8d9adf * NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-31 08:34:07 +00:00
bcc32 * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not 2008-08-07 07:28:56 +00:00
bin
cygwin
djgpp
doc
ext * ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries. 2009-07-27 19:42:41 +00:00
lib * lib/time.rb, test/test_time.rb: Move test code to a separate 2009-07-24 11:44:29 +00:00
misc * misc/ruby-style.el (ruby-style-c-mode): buffer may not have file 2008-10-09 14:53:26 +00:00
missing * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:39:55 +00:00
sample merge r23443. 2009-05-16 10:34:59 +00:00
template * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350] 2009-04-03 09:34:24 +00:00
test * io.c (argf_eof): go to the next file if called after ARGF.close 2009-07-26 10:17:39 +00:00
vms
win32 * win32/Makefile.sub (config.status): remove the definition of CP, so 2009-07-21 11:28:25 +00:00
wince * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
x68
.cvsignore
.document
COPYING
COPYING.ja
ChangeLog * NEWS: ditto. 2009-07-31 08:34:07 +00:00
GPL
KNOWNBUGS.rb Add a comment. 2008-07-15 12:50:24 +00:00
LEGAL
LGPL
Makefile.in * Makefile.in (fake): prefixed with $(arch)-. 2009-05-17 14:29:34 +00:00
NEWS * NEWS: ditto. 2009-07-31 08:34:07 +00:00
README * README, README.ja: Add a note about default C flags. 2008-05-31 14:38:49 +00:00
README.EXT * README.EXT, README.EXT.ja (Convert VALUE into C data): 2009-06-04 00:50:26 +00:00
README.EXT.ja * README.EXT, README.EXT.ja (Convert VALUE into C data): 2009-06-04 00:50:26 +00:00
README.ja * README.ja: code for THINK_C does not exist already. [Bug #1435] 2009-05-06 00:27:10 +00:00
ToDo
array.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
bignum.c * bignum.c (big_lshift, big_rshift): return Bignum always without 2009-06-18 23:14:27 +00:00
class.c * class.c (rb_singleton_class_clone): Qnil must be used for a null 2009-02-28 18:12:15 +00:00
common.mk * common.mk (main): passes $(MAKE) to mkmain_cmd 2009-04-03 03:43:17 +00:00
compar.c
config.guess * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
config.sub * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
configure.in * configure.in (DEPRECATED): backported from trunk. 2009-07-19 05:03:30 +00:00
defines.h * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dir.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
distruby.rb
dln.c * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dln.h
dmydln.c
dmyext.c
enum.c * enum.c (enum_first): Perform negative length check before 2009-06-27 20:10:45 +00:00
enumerator.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
env.h * eval.c (rb_call0): should pass rest argument information even 2009-03-13 16:14:40 +00:00
error.c * error.c (rb_exc_new3): keeps the given string itself. 2008-07-02 22:03:24 +00:00
eval.c * eval.c (rb_event_all, rb_add_event_hook): merged thread-switch 2009-07-28 06:48:20 +00:00
file.c * file.c (istrailinggarbage): fixed typo. 2009-05-31 14:26:40 +00:00
gc.c * eval.c, gc.c (_longjmp): never return. see [ruby-core:23241] 2009-05-01 04:12:40 +00:00
hash.c * array.c (Array#try_convert): New method backported from 1.9. 2009-03-20 09:43:24 +00:00
ia64.s
inits.c * eval.c (Init_Cont): separated from Init_Thread() since 2009-01-26 09:03:53 +00:00
install-sh
instruby.rb * configure.in, win32/Makefile.sub, mkconfig.rb, instruby.rb, 2008-05-29 11:07:59 +00:00
intern.h * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350] 2009-04-03 09:38:01 +00:00
io.c * io.c (argf_eof): go to the next file if called after ARGF.close 2009-07-26 10:17:39 +00:00
keywords * parse.y: Support for { key: value } -style hash immediates. 2009-07-31 08:33:43 +00:00
lex.c * suppress warnings with -Wwrite-string. 2008-05-31 09:28:20 +00:00
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
marshal.c Fix grammos regarding the verb "refer". 2009-02-10 09:05:28 +00:00
math.c * io.c (rb_io_open), math.c (domain_check), object.c (boot_defclass): 2009-06-16 13:23:04 +00:00
mdoc2man.rb
missing.h * missing.h: needs RUBY_EXTERN instead of extern for mswin. 2008-11-03 07:32:57 +00:00
mkconfig.rb * mkconfig.rb (patchlevel): config.status may not contain 2009-03-13 10:41:10 +00:00
node.h * eval.c (rb_event_all, rb_add_event_hook): merged thread-switch 2009-07-28 06:48:20 +00:00
numeric.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
object.c * io.c (rb_io_open), math.c (domain_check), object.c (boot_defclass): 2009-06-16 13:23:04 +00:00
pack.c * pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'. 2008-12-08 14:41:44 +00:00
parse.y * parse.y: Support for { key: value } -style hash immediates. 2009-07-31 08:33:43 +00:00
prec.c
process.c * process.c: Eliminate an "unused variable" warning. 2009-03-23 12:54:36 +00:00
random.c * array.c (rb_ary_sample): rename #choice to #sample. in 2008-08-12 05:08:52 +00:00
range.c * range.c (range_eql): fixed rdoc. 2009-05-07 04:58:54 +00:00
re.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
re.h * re.h (RMATCH_REGS): added for compatibility. 2009-07-18 02:15:44 +00:00
regex.c * regex.c (re_compile_pattern): \s should include \v too. 2009-02-23 22:11:53 +00:00
regex.h * suppress warnings on cygwin, mingw and mswin. 2008-06-01 19:55:25 +00:00
ruby.1
ruby.c * ruby.c (load_file): preserves $.. [ruby-core:24024] 2009-06-25 06:53:28 +00:00
ruby.h * configure.in (DEPRECATED): backported from trunk. 2009-07-19 05:03:30 +00:00
rubyio.h
rubysig.h * eval.c (rb_thread_schedule): runs deferred finalizers. 2008-08-02 07:08:18 +00:00
rubytest.rb * lib/date.rb (once): Use Object#object_id instead of Symbol#to_i; 2008-12-17 11:07:32 +00:00
runruby.rb
signal.c * suppress warnings on cygwin, mingw and mswin. 2008-06-01 19:55:25 +00:00
sprintf.c * array.c (ary_new, rb_ary_initialize, rb_ary_store, 2008-06-19 23:12:46 +00:00
st.c
st.h
string.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
struct.c * array.c (ary_resize_capa): Remove an unused function. 2009-03-23 12:07:23 +00:00
time.c * time.c (time_timeval): rounds subsecond toward zero. 2009-07-12 16:18:51 +00:00
util.c * util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix 2009-05-06 17:02:29 +00:00
util.h
variable.c Fix grammos regarding the verb "refer". 2009-02-10 09:05:28 +00:00
version.c * version.c, version.h: NO_STRING_LITERAL_CONCATENATION support. 2009-02-17 08:02:47 +00:00
version.h * 2009-07-31 2009-07-31 08:34:03 +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 latest source code of this version series can be checked out
through SVN with the following command:

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

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.

     Some C compiler flags may be added by default depending on your
     environment.  Specify optflags=.. and warnflags=.. as necessary
     to override them.

  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: