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 3db12e8b23 Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1998-01-16 12:13:05 +00:00
ext Initial revision 1998-01-16 12:13:05 +00:00
lib Initial revision 1998-01-16 12:13:05 +00:00
missing Initial revision 1998-01-16 12:13:05 +00:00
sample Initial revision 1998-01-16 12:13:05 +00:00
win32 Initial revision 1998-01-16 12:13:05 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
array.c Initial revision 1998-01-16 12:13:05 +00:00
bignum.c Initial revision 1998-01-16 12:13:05 +00:00
ChangeLog Initial revision 1998-01-16 12:13:05 +00:00
class.c Initial revision 1998-01-16 12:13:05 +00:00
compar.c Initial revision 1998-01-16 12:13:05 +00:00
config.dj Initial revision 1998-01-16 12:13:05 +00:00
config.guess Initial revision 1998-01-16 12:13:05 +00:00
config.sub Initial revision 1998-01-16 12:13:05 +00:00
configure Initial revision 1998-01-16 12:13:05 +00:00
configure.bat Initial revision 1998-01-16 12:13:05 +00:00
configure.in Initial revision 1998-01-16 12:13:05 +00:00
defines.h Initial revision 1998-01-16 12:13:05 +00:00
dir.c Initial revision 1998-01-16 12:13:05 +00:00
dln.c Initial revision 1998-01-16 12:13:05 +00:00
dln.h Initial revision 1998-01-16 12:13:05 +00:00
dmyext.c Initial revision 1998-01-16 12:13:05 +00:00
enum.c Initial revision 1998-01-16 12:13:05 +00:00
env.h Initial revision 1998-01-16 12:13:05 +00:00
error.c Initial revision 1998-01-16 12:13:05 +00:00
eval.c Initial revision 1998-01-16 12:13:05 +00:00
file.c Initial revision 1998-01-16 12:13:05 +00:00
fnmatch.c Initial revision 1998-01-16 12:13:05 +00:00
fnmatch.h Initial revision 1998-01-16 12:13:05 +00:00
gc.c Initial revision 1998-01-16 12:13:05 +00:00
glob.c Initial revision 1998-01-16 12:13:05 +00:00
hash.c Initial revision 1998-01-16 12:13:05 +00:00
inits.c Initial revision 1998-01-16 12:13:05 +00:00
install-sh Initial revision 1998-01-16 12:13:05 +00:00
io.c Initial revision 1998-01-16 12:13:05 +00:00
io.h Initial revision 1998-01-16 12:13:05 +00:00
main.c Initial revision 1998-01-16 12:13:05 +00:00
Makefile.in Initial revision 1998-01-16 12:13:05 +00:00
MANIFEST Initial revision 1998-01-16 12:13:05 +00:00
math.c Initial revision 1998-01-16 12:13:05 +00:00
node.h Initial revision 1998-01-16 12:13:05 +00:00
numeric.c Initial revision 1998-01-16 12:13:05 +00:00
object.c Initial revision 1998-01-16 12:13:05 +00:00
pack.c Initial revision 1998-01-16 12:13:05 +00:00
parse.y Initial revision 1998-01-16 12:13:05 +00:00
process.c Initial revision 1998-01-16 12:13:05 +00:00
random.c Initial revision 1998-01-16 12:13:05 +00:00
range.c Initial revision 1998-01-16 12:13:05 +00:00
re.c Initial revision 1998-01-16 12:13:05 +00:00
re.h Initial revision 1998-01-16 12:13:05 +00:00
README Initial revision 1998-01-16 12:13:05 +00:00
README.EXT Initial revision 1998-01-16 12:13:05 +00:00
README.jp Initial revision 1998-01-16 12:13:05 +00:00
regex.c Initial revision 1998-01-16 12:13:05 +00:00
regex.h Initial revision 1998-01-16 12:13:05 +00:00
ruby.1 Initial revision 1998-01-16 12:13:05 +00:00
ruby.c Initial revision 1998-01-16 12:13:05 +00:00
ruby.h Initial revision 1998-01-16 12:13:05 +00:00
sig.h Initial revision 1998-01-16 12:13:05 +00:00
signal.c Initial revision 1998-01-16 12:13:05 +00:00
sprintf.c Initial revision 1998-01-16 12:13:05 +00:00
st.c Initial revision 1998-01-16 12:13:05 +00:00
st.h Initial revision 1998-01-16 12:13:05 +00:00
string.c Initial revision 1998-01-16 12:13:05 +00:00
struct.c Initial revision 1998-01-16 12:13:05 +00:00
time.c Initial revision 1998-01-16 12:13:05 +00:00
ToDo Initial revision 1998-01-16 12:13:05 +00:00
top.sed Initial revision 1998-01-16 12:13:05 +00:00
util.c Initial revision 1998-01-16 12:13:05 +00:00
util.h Initial revision 1998-01-16 12:13:05 +00:00
variable.c Initial revision 1998-01-16 12:13:05 +00:00
version.c Initial revision 1998-01-16 12:13:05 +00:00
version.h Initial revision 1998-01-16 12:13:05 +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)

* How to get ruby

** by ftp

The ruby distribution can be found on

  ftp://ftp.netlab.co.jp/pub/lang/ruby/

* How to compile and install

This is what you need to do to compile and install ruby:

  1. Run ./configure, which will generate config.h and Makefile.

  2. Edit defines.h if you need.  Probably this step will not need.

  3. Remove comment mark(#) before the module names from ext/Setup, if 
     you want to link modules statically.

     If you want to link all the extension modules, remove comment
     mark from the line "#option nodynamic".

  4. Run make.

  5. Optionally, run 'make test' to check that the compiled ruby
     interpreter works well.  If you see the message "test succeeded", 
     your ruby works as it should.

  6. Run 'make install'

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.

* Copying

Ruby is copyrighted by Yukihiro Matsumoto <matz@ruby.club.co.jp>.

This source is distributed under the conditions blow:

 1. You may make and give away verbatim copies of the source form of
    the software without restriction, provided that you do not modify
    the original distribution files.

    If you want to distribute the modified version in any way, contact 
    the author.

  2. You may distribute the software in object code or executable
     form, provided that you distribute it with instructions on where
     to get the software.

  3. You may modify the software in any way, provided that you do not
     distribute the modified version.

  4. You may modify and include the part of the software into any other
     software (possibly commercial).  But some files in the distribution
     are not written by the author, so that they are not under this terms.
     They are gc.c(partly)<29><>utils.c(partly), regex.[ch]<5D><>fnmatch.[ch]<5D><>
     glob.c, st.[ch] and somme files under the ./missing directory.  See
     each files for the copying condition.

  5. The scripts and library files supplied as input to or produced as 
     output from the software do not automatically fall under the
     copyright of the software, but belong to whomever generated them, 
     and may be sold commercially, and may be aggregated with this
     software.

  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
     WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
     PURPOSE.

* ruby home-page

 The URL of the ruby home-page is:

   http://www.netlab.co.jp/ruby/

* The Author

Feel free to send comments and bug reports to the author.  Here is the 
author's latest mail address:

  matz@netlab.co.jp

-------------------------------------------------------
created at: Thu Aug  3 11:57:36 JST 1995
Local variables:
mode: indented-text
end: