1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
The Ruby Programming Language [mirror]
Find a file
nagai a2af997b7e * ext/tcltklib: merge into ext/tk and remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:19:30 +00:00
bcc32 * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
bin * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys): 2005-10-24 00:07:01 +00:00
cygwin * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load 2005-09-06 23:23:04 +00:00
djgpp This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2003-12-25 08:48:14 +00:00
doc * lib/irb.rb lib/irb/* doc/irb: IRB 0.9.5 2005-04-19 19:24:59 +00:00
ext * ext/tcltklib: merge into ext/tk and remove. 2005-11-02 11:19:30 +00:00
lib * eval.c (rb_call_super): should call method_missing if super is 2005-11-01 13:45:00 +00:00
misc * misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent 2005-09-24 16:47:20 +00:00
missing * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: 2005-10-13 14:30:54 +00:00
sample * sample/rss/tdiary_plugin: removed. because the plugin 2005-07-27 13:16:32 +00:00
test This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-11-02 11:19:30 +00:00
vms * configure.in: Check for the availability of pid_t, gid_t and uid_t and 2005-05-14 14:57:53 +00:00
win32 * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
wince * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
x68
.cvsignore * struct.c (make_struct): allow const_id for accessor names. 2005-05-11 01:11:52 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c * array.c (sort_2): get rid of yet another bcc's bug. 2005-07-05 14:23:38 +00:00
bignum.c * bignum.c (bignew_1): convertion from int' to char' discards 2005-10-21 06:28:41 +00:00
ChangeLog * ext/tcltklib: merge into ext/tk and remove. 2005-11-02 11:19:30 +00:00
class.c * class.c (rb_mod_init_copy, rb_class_init_copy), file.c (rb_stat_init_copy), 2005-09-28 14:42:46 +00:00
common.mk * common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated 2005-08-03 15:27:13 +00:00
compar.c Fix dependency issue 2003-12-19 00:01:19 +00:00
config.guess * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL. 2004-07-17 02:23:52 +00:00
config.sub * config.guess, config.sub: Attempt to avoid system name change on 2004-06-11 05:29:02 +00:00
configure.in * configure.in: use proper option for Sun linker. A patch from 2005-10-31 08:38:28 +00:00
COPYING
COPYING.ja
defines.h * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
dir.c * dir.c (ruby_glob): glob function not using ruby exception system. 2005-09-14 13:41:02 +00:00
dln.c * io.c (rb_io_inspect): replace sprintf() with "%s" format all 2005-07-19 08:25:39 +00:00
dln.h Updated Copyrights of Matz to 2003. 2003-01-16 07:34:03 +00:00
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-04-20 14:25:35 +00:00
dmyext.c
enum.c * enum.c (enum_min, enum_max): must not return Qundef. 2005-06-30 16:46:13 +00:00
env.h * eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP() 2003-10-20 08:33:49 +00:00
error.c * variable.c (rb_class_path): need to adjust snprintf() len for 2005-07-20 01:09:54 +00:00
eval.c * eval.c (rb_call_super): should call method_missing if super is 2005-11-01 13:45:00 +00:00
file.c * file.c (rb_file_join): elements may contain null pointer strings. 2005-10-18 23:29:24 +00:00
gc.c * eval.c, gc.c, time.c: made internal symbols static. [ruby-dev:27435] 2005-10-18 17:36:20 +00:00
GPL
hash.c * io.c (rb_io_inspect): replace sprintf() with "%s" format all 2005-07-19 08:25:39 +00:00
inits.c Add boot_classes to rdoc parsing, fix a couple of bugs 2003-12-19 03:58:57 +00:00
install-sh
instruby.rb * instruby.rb: expand source library path. 2005-07-05 14:45:33 +00:00
intern.h * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check 2005-10-22 04:09:24 +00:00
io.c * configure.in, io.c: use sys/syscall.h if syscall.h is not available. 2005-10-24 12:15:26 +00:00
keywords
LEGAL * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8. 2005-07-13 15:46:37 +00:00
lex.c
LGPL
main.c * main.c (_stklen): move to gc.c. 2004-10-31 16:06:57 +00:00
Makefile.in * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load 2005-09-06 23:23:04 +00:00
marshal.c * exception error messages updated. [ruby-core:04497] 2005-02-28 02:45:23 +00:00
math.c Add RDoc comments to math.c 2003-12-28 15:44:07 +00:00
mdoc2man.rb * mdoc2man.rb: Properly put nested braces, parentheses and angles. 2003-01-20 12:10:40 +00:00
missing.h * signal.c (sigexit): call rb_thread_signal_exit() instead of 2005-06-12 16:58:43 +00:00
mkconfig.rb * configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL. 2005-04-16 06:27:43 +00:00
node.h * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on 2005-10-08 09:57:12 +00:00
numeric.c * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
object.c * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check 2005-10-22 04:09:24 +00:00
pack.c * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: 2005-10-13 14:30:54 +00:00
parse.y * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check 2005-10-22 04:09:24 +00:00
prec.c * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c, 2004-04-14 04:06:52 +00:00
process.c * merged a patch from Takahiro Kambe <taca@back-street.net> to 2005-09-08 05:59:43 +00:00
random.c * random.c (rand_init): suppress warning. 2005-02-12 06:07:47 +00:00
range.c * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE. 2005-08-14 15:39:39 +00:00
re.c * class.c (rb_mod_init_copy, rb_class_init_copy), file.c (rb_stat_init_copy), 2005-09-28 14:42:46 +00:00
re.h * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2003-03-04 14:12:19 +00:00
README
README.EXT * README.EXT, README.EXT.ja: add new features. 2005-09-20 23:20:58 +00:00
README.EXT.ja * README.EXT, README.EXT.ja: add new features. 2005-09-20 23:20:58 +00:00
README.ja
regex.c * regex.c (re_compile_pattern): numeric literal inside character class 2005-10-18 16:27:53 +00:00
regex.h * regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199] 2003-08-03 09:22:50 +00:00
ruby.1 * ruby.1: add -width option to .Bl for old groff. 2004-03-22 07:20:24 +00:00
ruby.c * dir.c, eval.c, hash.c, process.c, ruby.c: avoid warning "unused 2005-06-28 13:09:58 +00:00
ruby.h * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate 2005-10-26 00:05:58 +00:00
rubyio.h * rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant. 2005-07-18 01:00:23 +00:00
rubysig.h * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper) 2005-10-21 10:23:03 +00:00
rubytest.rb * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir into 2005-02-06 17:03:35 +00:00
runruby.rb * runruby.rb: should load built rbconfig.rb. 2005-06-23 14:56:40 +00:00
signal.c * signal.c (sigexit): call rb_thread_signal_exit() instead of 2005-06-12 16:58:43 +00:00
sprintf.c * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style 2005-09-16 03:04:59 +00:00
st.c * rubysig.h (CHECK_INTS): prevent signal handler to run during 2005-10-19 14:12:04 +00:00
st.h * lib/cgi.rb (CGI::Cookie): [ruby-talk:130040] 2005-02-08 00:51:16 +00:00
string.c * string.c (scan_once): wrong condition to use mbclen2(). 2005-10-27 08:19:20 +00:00
struct.c * error.c (syserr_initialize): add 1 byte for snprintf() size for 2005-07-19 14:59:01 +00:00
time.c * time.c (rb_strftime): removed meaningless volatile modifiers, and 2005-10-22 04:27:48 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c * array.c (rb_ary_uniq_bang): element size might change during 2004-09-21 09:35:29 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when 2005-09-28 15:58:32 +00:00
version.c * version.c (ruby_show_version): flush for non-tty stdout. 2005-05-12 00:54:36 +00:00
version.h * 2005-11-01 2005-11-01 01:58:43 +00:00

* 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.  Probably this step will not need.

  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: