development fork of ruby/ruby
Перейти к файлу
Takashi Kokubun 4885aa9a7c
MJIT: Add comments about custom hooks [ci skip]
2022-12-08 23:06:27 -08:00
.github YJIT: Fold check-yjit-bindings into yjit-bindgen 2022-12-08 15:58:00 -05:00
basictest
benchmark Introduce BOP_CMP for optimized comparison 2022-12-06 12:37:23 -08:00
bin
bootstraptest
ccan
coroutine
coverage
cygwin
defs Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867) 2022-12-08 18:19:53 +13:00
doc Use a ruby-lang alias [ci skip] 2022-12-08 22:40:56 -08:00
enc update Unicode include files to version 15.0.0 2022-12-06 10:11:33 +09:00
ext [ruby/etc] Bump version to 1.4.2 2022-12-09 05:57:49 +00:00
gems
include [DOC] Update `rb_gc_mark_locations` doc 2022-12-09 00:38:23 +09:00
internal Introduce BOP_CMP for optimized comparison 2022-12-06 12:37:23 -08:00
lib [ruby/rdoc] Fix `=end` delimiter 2022-12-09 15:40:05 +09:00
libexec
man
misc
missing
sample
spec Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867) 2022-12-08 18:19:53 +13:00
template document for commit 5bbba76489 [ci skip] 2022-12-07 15:09:12 +09:00
test [ruby/irb] Add show_doc as an alias to the help command 2022-12-08 21:46:55 +00:00
tool Don't sync jar artifact of CGI 2022-12-08 12:22:02 +09:00
wasm
win32
yjit YJIT: Upgrade bindgen to stabilize and reduce output 2022-12-08 17:35:18 -05:00
.appveyor.yml
.cirrus.yml
.dir-locals.el
.document
.editorconfig
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore Ignore .o.tmp files 2022-12-08 13:29:13 +01:00
.indent.pro
.rdoc_options
.rspec_parallel
.travis.yml
BSDL
CONTRIBUTING.md
COPYING
COPYING.ja
GPL
KNOWNBUGS.rb
LEGAL
NEWS.md Update default gems list at d7baa17b49 [ci skip] 2022-12-09 05:58:23 +00:00
README.EXT
README.EXT.ja
README.ja.md
README.md Revert wrong sync in 9aa18f61f2 [ci skip] 2022-12-06 11:18:59 +09:00
aclocal.m4
addr2line.c
addr2line.h
array.c Introduce BOP_CMP for optimized comparison 2022-12-06 12:37:23 -08:00
array.rb
ast.c
ast.rb
autogen.sh
bignum.c
builtin.c
builtin.h
class.c Freeze singleton class, not its origin 2022-12-08 15:58:26 -05:00
common.mk ObjectSpace.dump_all: dump shapes as well 2022-12-08 18:46:16 +01:00
compar.c
compile.c Set max_iv_count (used for object shapes) based on inline caches 2022-12-06 13:43:42 -08:00
complex.c
configure.ac
constant.h
cont.c
darray.h
debug.c
debug_counter.c Add debug counters to RubyVM.stat (#6086) 2022-12-07 17:09:30 -08:00
debug_counter.h MJIT: Remove obsoleted MJIT counters 2022-12-06 23:05:00 -08:00
dir.c
dir.rb
dln.c
dln.h
dln_find.c
dmydln.c
dmyenc.c
dmyext.c
encindex.h
encoding.c
enum.c Introduce BOP_CMP for optimized comparison 2022-12-06 12:37:23 -08:00
enumerator.c
error.c Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867) 2022-12-08 18:19:53 +13:00
eval.c
eval_error.c
eval_intern.h
eval_jump.c
file.c Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867) 2022-12-08 18:19:53 +13:00
gc.c
gc.h
gc.rb
gem_prelude.rb
golf_prelude.rb
goruby.c
hash.c
hrtime.h
id_table.c
id_table.h
inits.c
insns.def
internal.h
io.c Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867) 2022-12-08 18:19:53 +13:00
io.rb
io_buffer.c
iseq.c Set max_iv_count (used for object shapes) based on inline caches 2022-12-06 13:43:42 -08:00
iseq.h
kernel.rb
lex.c.blt
load.c
loadpath.c
localeinit.c
main.c
marshal.c Stop transitioning to UNDEF when undefining an instance variable 2022-12-07 09:57:11 -08:00
marshal.rb
math.c
memory_view.c
method.h
mini_builtin.c
miniinit.c
mjit.c MJIT: Add comments about custom hooks [ci skip] 2022-12-08 23:06:27 -08:00
mjit.h MJIT: Give a more appropriate name to the initial state 2022-12-08 22:58:40 -08:00
mjit.rb
mjit_c.c Use a ruby-lang alias [ci skip] 2022-12-08 22:40:56 -08:00
mjit_c.h MJIT: Convert compact_p flag to an enum 2022-12-08 22:53:58 -08:00
mjit_c.rb MJIT: Convert compact_p flag to an enum 2022-12-08 22:53:58 -08:00
nilclass.rb
node.c
node.h
numeric.c
numeric.rb
object.c
pack.c
pack.rb
parse.y
prelude.rb
probes.d
probes_helper.h
proc.c
process.c
ractor.c
ractor.rb
ractor_core.h
random.c
range.c Introduce BOP_CMP for optimized comparison 2022-12-06 12:37:23 -08:00
rational.c
re.c
regcomp.c
regenc.c
regenc.h
regerror.c
regexec.c
regint.h
regparse.c
regparse.h
regsyntax.c
ruby-runner.c
ruby.c Update YJIT warning, mention need to install rustc (#6873) 2022-12-07 15:02:45 -05:00
ruby_assert.h
ruby_atomic.h
rubystub.c
scheduler.c
shape.c ObjectSpace.dump_all: dump shapes as well 2022-12-08 18:46:16 +01:00
shape.h ObjectSpace.dump_all: dump shapes as well 2022-12-08 18:46:16 +01:00
signal.c
siphash.c
siphash.h
sparc.c
sprintf.c
st.c
strftime.c
string.c
string.rb
struct.c
symbol.c
symbol.h
symbol.rb
thread.c
thread_none.c
thread_none.h
thread_pthread.c
thread_pthread.h
thread_sync.c
thread_sync.rb
thread_win32.c
thread_win32.h
time.c
timev.h
timev.rb
trace_point.rb
transcode.c
transcode_data.h
transient_heap.c
transient_heap.h
util.c
variable.c Stop transitioning to UNDEF when undefining an instance variable 2022-12-07 09:57:11 -08:00
variable.h
version.c
version.h
vm.c MJIT: Give a more appropriate name to the initial state 2022-12-08 22:58:40 -08:00
vm_args.c
vm_backtrace.c
vm_callinfo.h
vm_core.h Set max_iv_count (used for object shapes) based on inline caches 2022-12-06 13:43:42 -08:00
vm_debug.h
vm_dump.c
vm_eval.c Fix bad code example in documentation 2022-12-09 11:26:26 +09:00
vm_exec.c
vm_exec.h
vm_insnhelper.c YJIT: implement opt_newarray_min YARV instruction (#6888) 2022-12-08 17:31:33 -05:00
vm_insnhelper.h
vm_method.c
vm_opts.h
vm_sync.c
vm_sync.h
vm_trace.c
vsnprintf.c
warning.rb
yjit.c
yjit.h
yjit.rb

README.md

Actions Status: MinGW Actions Status: MJIT Actions Status: Ubuntu Actions Status: Windows AppVeyor status Travis Status Cirrus Status

What is Ruby?

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Features of Ruby

  • Simple Syntax
  • Normal Object-oriented Features (e.g. class, method calls)
  • Advanced Object-oriented Features (e.g. mix-in, singleton-method)
  • Operator Overloading
  • Exception Handling
  • Iterators and Closures
  • Garbage Collection
  • Dynamic Loading of Object Files (on some architectures)
  • Highly Portable (works on many Unix-like/POSIX compatible platforms as well as Windows, macOS, etc.) cf. https://github.com/ruby/ruby/blob/master/doc/maintainers.rdoc#label-Platform+Maintainers

How to get Ruby with Git

For a complete list of ways to install Ruby, including using third-party tools like rvm, see:

https://www.ruby-lang.org/en/downloads/

The mirror of the Ruby source tree can be checked out with the following command:

$ git clone https://github.com/ruby/ruby.git

There are some other branches under development. Try the following command to see the list of branches:

$ git ls-remote https://github.com/ruby/ruby.git

You may also want to use https://git.ruby-lang.org/ruby.git (actual master of Ruby source) if you are a committer.

How to build

see Building Ruby

Ruby home page

https://www.ruby-lang.org/

Documentation

Mailing list

There is a mailing list to discuss Ruby. To subscribe to this list, please send the following phrase:

subscribe

in the mail body (not subject) to the address ruby-talk-request@ruby-lang.org.

Copying

See the file COPYING.

Feedback

Questions about the Ruby language can be asked on the Ruby-Talk mailing list or on websites like https://stackoverflow.com.

Bugs should be reported at https://bugs.ruby-lang.org. Read "Reporting Issues" for more information.

Contributing

See "Contributing to Ruby", which includes setup and build instructions.

The Author

Ruby was originally designed and developed by Yukihiro Matsumoto (Matz) in 1995.

matz@ruby-lang.org