The Ruby Programming Language [mirror]
Go to file
usa 3207cd3897 * signal.c (sighandler): need to re-install sighandler on some
platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23 06:59:12 +00:00
bcc32
benchmark
bin
cygwin
djgpp
doc
ext * parse.y (lambda): add ripper event. This fixes bus error on "make test-all". 2007-02-23 03:25:26 +00:00
lib * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the 2007-02-23 03:42:01 +00:00
misc
missing
sample
template
test * test/ruby/test_primitive.rb: new test. 2007-02-23 06:41:25 +00:00
tool
vms
win32 * win32/win32.c (set_pioinfo_extra): simplified. 2007-02-23 06:07:55 +00:00
wince
x68
yarvtest * test/ruby/test_primitive.rb: new test. 2007-02-23 06:41:25 +00:00
.cvsignore
.document
COPYING
COPYING.ja
ChangeLog * signal.c (sighandler): need to re-install sighandler on some 2007-02-23 06:59:12 +00:00
GPL
LEGAL
LGPL
Makefile.in
README Update the distribution information. 2007-02-20 07:34:30 +00:00
README.EXT
README.EXT.ja
README.ja fix 2007-02-20 07:35:33 +00:00
ToDo
array.c
ascii.c
bignum.c
blockinlining.c
call_cfunc.ci
class.c
common.mk
compar.c
compile.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
compile.h
config.guess
config.sub
configure.in * configure.in (RUBY_REPLACE_TYPE): cache convertible type info. 2007-02-19 13:16:12 +00:00
debug.c
debug.h
defines.h
dir.c
dln.c * dln.c: use dlopen on Mac OS X 10.3 or later. 2007-02-23 01:31:37 +00:00
dln.h
dmydln.c
dmyext.c
enum.c
enumerator.c
error.c
euc_jp.c
eval.c * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to 2007-02-20 06:16:04 +00:00
eval_error.h
eval_intern.h
eval_jump.h
eval_load.c * eval_load.c (rb_require_safe): should restore safe level. 2007-02-21 00:14:07 +00:00
eval_method.h
eval_safe.h
file.c
gc.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
gc.h
hash.c
ia64.s
inits.c
insnhelper.h
insns.def * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
install-sh
instruby.rb
intern.h * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
io.c
iseq.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
keywords
lex.c
main.c
marshal.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
math.c * math.c (math_log): update document to mention second optional 2007-02-16 11:12:11 +00:00
mdoc2man.rb
missing.h
mkconfig.rb
node.h * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
numeric.c * numeric.c (fix_equal): A bit more optimization. 2007-02-21 13:30:17 +00:00
object.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
oniguruma.h
opt_insn_unif.def
opt_operand.def
pack.c
parse.y * parse.y (lambda): add ripper event. This fixes bus error on "make test-all". 2007-02-23 03:25:26 +00:00
prec.c
proc.c
process.c * configure.in (pid_t, uid_t, gid_t): check if defined. 2007-02-18 04:11:57 +00:00
random.c
range.c
re.c * re.c (reg_operand): allow symbols to be operands for regular 2007-02-14 04:57:25 +00:00
re.h
regcomp.c
regenc.c
regenc.h
regerror.c
regex.h
regexec.c
regint.h
regparse.c
regparse.h
ruby.1
ruby.c
ruby.h * configure.in (RUBY_REPLACE_TYPE): cache convertible type info. 2007-02-19 13:16:12 +00:00
rubyio.h * configure.in (pid_t, uid_t, gid_t): check if defined. 2007-02-18 04:11:57 +00:00
rubysig.h
rubytest.rb
runruby.rb
signal.c * signal.c (sighandler): need to re-install sighandler on some 2007-02-23 06:59:12 +00:00
sjis.c
sprintf.c
st.c
st.h
string.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
struct.c
thread.c * thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if 2007-02-20 06:07:05 +00:00
thread_pthread.ci * thread_pthread.ci (native_mutex_lock): do not call 2007-02-23 01:56:43 +00:00
thread_pthread.h
thread_win32.ci
thread_win32.h
time.c
utf8.c
util.c
util.h
variable.c * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
version.c
version.h * string.c (rb_str_ord): need not to check string length; ord 2007-02-23 01:21:49 +00:00
vm.c * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to 2007-02-20 06:16:04 +00:00
vm.h * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to 2007-02-14 18:08:10 +00:00
vm_dump.c
vm_evalbody.ci
vm_macro.def * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h, 2007-02-23 02:49:41 +00:00
vm_opts.h
yarvcore.c just a minor change 2007-02-19 16:30:02 +00:00
yarvcore.h * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() to 2007-02-20 06:16:04 +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: