The Ruby Programming Language [mirror]
Go to file
nobu bf6efa76c0 * configure.in (pid_t, uid_t, gid_t): check if defined.
* intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use
  rb_{pid,uid,gid}_t instead of plain int.  [ruby-dev:30376]

* ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM,
  NUM2GIDT): moved to configure.in.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-18 04:11:57 +00:00
bcc32
benchmark
bin
cygwin
djgpp
doc
ext * ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not 2007-02-14 13:57:59 +00:00
lib * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse 2007-02-16 02:23:15 +00:00
misc
missing
sample
template
test * object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id. 2007-02-16 12:36:49 +00:00
tool
vms
win32 * win32/win32.c (get_pioinfo_extra): new function for VC++8 SP1 2007-02-15 11:50:28 +00:00
wince
x68
yarvtest
.cvsignore
.document
COPYING
COPYING.ja
ChangeLog * configure.in (pid_t, uid_t, gid_t): check if defined. 2007-02-18 04:11:57 +00:00
GPL
LEGAL
LGPL
Makefile.in
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c
ascii.c
bignum.c
blockinlining.c
call_cfunc.ci
class.c
common.mk
compar.c
compile.c * compile.c (defined_expr): no longer distinguish ordinary local 2007-02-14 00:08:45 +00:00
compile.h
config.guess
config.sub
configure.in * configure.in (pid_t, uid_t, gid_t): check if defined. 2007-02-18 04:11:57 +00:00
debug.c
debug.h
defines.h
dir.c
dln.c
dln.h
dmydln.c
dmyext.c
enum.c
enumerator.c
error.c
euc_jp.c
eval.c
eval_error.h
eval_intern.h
eval_jump.h
eval_load.c * eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead of 2007-02-14 02:19:02 +00:00
eval_method.h
eval_safe.h
file.c
gc.c
gc.h
hash.c
ia64.s
inits.c
insnhelper.h
insns.def
install-sh
instruby.rb
intern.h * configure.in (pid_t, uid_t, gid_t): check if defined. 2007-02-18 04:11:57 +00:00
io.c
iseq.c
keywords
lex.c
main.c
marshal.c
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
numeric.c
object.c * object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id. 2007-02-16 12:36:49 +00:00
oniguruma.h
opt_insn_unif.def
opt_operand.def
pack.c
parse.y * parse.y (mrhs): need to append by arg_append(). 2007-02-16 10:58:04 +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
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
sjis.c
sprintf.c
st.c
st.h
string.c * re.c (reg_operand): allow symbols to be operands for regular 2007-02-14 04:57:25 +00:00
struct.c
thread.c * thread.c (do_select): fix to iterate select(). 2007-02-14 04:02:12 +00:00
thread_pthread.ci * thread_pthread.ci (native_thread_create): adjust 4KB (page size) 2007-02-14 12:24:20 +00:00
thread_pthread.h
thread_win32.ci
thread_win32.h
time.c
utf8.c
util.c
util.h
variable.c
version.c
version.h * parse.y (mrhs): need to append by arg_append(). 2007-02-16 10:58:04 +00:00
vm.c * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to 2007-02-14 18:08:10 +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
vm_opts.h
yarvcore.c * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to 2007-02-14 18:08:10 +00:00
yarvcore.h * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename to 2007-02-14 18:08:10 +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 can be found on:

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

You can get it by anonymous CVS.  How to check out is:

  $ cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login
  (Logging in to anonymous@cvs.ruby-lang.org)
  CVS password: anonymous
  $ cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src checkout ruby


* 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: