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
matz 609ebfe51f * numeric.c (flo_round): now takes optional argument to specify
number of digits, like round() in Python/PHP.

* numeric.c (num_round): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-31 17:01:15 +00:00
bcc32
benchmark
bin
bootstraptest
cygwin
djgpp
doc
ext * ext/tk/lib/tkextlib/tcllib/tablelist.rb: fix typo. 2007-05-25 16:10:42 +00:00
lib * lib/benchmark.rb (Benchmark::Job::item): avoid modifying the 2007-05-31 08:26:31 +00:00
misc * misc/ruby-style.el (ruby-style-label-indent): for yacc rules. 2007-05-17 08:02:02 +00:00
missing
sample * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
template
test * cont.c (cont_capture): store all local variables in heap 2007-05-30 05:56:13 +00:00
tool
vms
win32 * win32/win32.c (rb_w32_opendir): removed duplicated code. 2007-05-29 03:30:14 +00:00
wince
x68
yarvtest
.cvsignore
.document
array.c * array.c (rb_ary_zip): a.zip(b,c) should return an array, not 2007-05-13 17:15:25 +00:00
ascii.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
bignum.c
blockinlining.c
call_cfunc.ci
ChangeLog * numeric.c (flo_round): now takes optional argument to specify 2007-05-31 17:01:15 +00:00
class.c
common.mk * cont.c: support callcc which everyone love. 2007-05-23 22:52:19 +00:00
compar.c
compile.c * eval.c (ruby_exec_internal): do nothing if no code. 2007-05-25 15:37:05 +00:00
compile.h
config.guess
config.sub
configure.in
cont.c * cont.c (cont_capture): store all local variables in heap 2007-05-30 05:56:13 +00:00
COPYING
COPYING.ja
debug.c * debug.c (ruby_debug_node): fix to show node line. 2007-05-17 04:00:36 +00:00
debug.h
defines.h * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
dir.c
distruby.rb
dln.c
dln.h
dmydln.c
dmyext.c
enum.c * enum.c (each_with_index_i): should work well with continuation. 2007-05-31 16:59:12 +00:00
enumerator.c
error.c
euc_jp.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
eval.c * eval.c (rb_eval_cmd): just return if no exceptions. 2007-05-29 19:17:18 +00:00
eval_error.h
eval_intern.h * cont.c (cont_capture): store all local variables in heap 2007-05-30 05:56:13 +00:00
eval_jump.h
eval_load.c
eval_method.h
eval_safe.h
file.c * file.c (Init_File): method definition mismatch. 2007-05-18 16:04:22 +00:00
gc.c * gc.c (rb_source_filename, obj_free): supress warnings. 2007-05-29 15:49:30 +00:00
gc.h
GPL
hash.c
ia64.s
inits.c * cont.c: support callcc which everyone love. 2007-05-23 22:52:19 +00:00
insnhelper.h
insns.def * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
install-sh
instruby.rb
intern.h
io.c
iseq.c * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
keywords
LEGAL
lex.c
LGPL
main.c
Makefile.in
marshal.c
math.c
mdoc2man.rb
missing.h
mkconfig.rb
node.h
numeric.c * numeric.c (flo_round): now takes optional argument to specify 2007-05-31 17:01:15 +00:00
object.c
oniguruma.h * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
opt_insn_unif.def
opt_operand.def
pack.c
parse.y * parse.y (open_args, arg_ambiguous, parser_warning): should not use 2007-05-29 15:22:49 +00:00
prec.c
proc.c
process.c
random.c
range.c
re.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
re.h
README
README.EXT
README.EXT.ja
README.ja
regcomp.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regenc.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regenc.h * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regerror.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regex.h
regexec.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regint.h * regint.h (include): on some platform, defines.h redefines 2007-05-25 02:13:18 +00:00
regparse.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regparse.h * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
regsyntax.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
ruby.1
ruby.c * ruby.c (set_arg0): support RSTRING_LEN on HP-UX. a patch from 2007-05-22 07:38:50 +00:00
ruby.h
rubyio.h
rubysig.h
rubytest.rb
runruby.rb * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default 2007-05-22 20:48:34 +00:00
signal.c * signal.c (interrupt_init): needs to pass nil for Interrupt. 2007-05-29 17:13:05 +00:00
sjis.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
sprintf.c
st.c
st.h
string.c
struct.c
thread.c * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail. 2007-05-27 19:12:43 +00:00
thread_pthread.ci * thread_pthread.ci (thread_timer): must not be applied to trunk. 2007-05-30 00:41:32 +00:00
thread_pthread.h
thread_win32.ci
thread_win32.h
time.c
ToDo
unicode.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
utf8.c * oniguruma.h: updated to Oniguruma 5.7.0. 2007-05-23 01:32:08 +00:00
util.c
util.h
variable.c
version.c
version.h * enum.c (each_with_index_i): should work well with continuation. 2007-05-31 16:59:12 +00:00
vm.c * cont.c (cont_capture): store all local variables in heap 2007-05-30 05:56:13 +00:00
vm.h * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
vm_dump.c
vm_evalbody.ci
vm_macro.def * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
vm_opts.h * compile.c, vm_macro.def: support tail call optimization 2007-05-21 04:46:51 +00:00
yarvcore.c * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail. 2007-05-27 19:12:43 +00:00
yarvcore.h * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail. 2007-05-27 19:12: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 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: