development fork of ruby/ruby
Перейти к файлу
Nobuyoshi Nakada 40e3f782dd Extract `forwarding_arg_check` function 2023-12-22 23:08:10 +09:00
.github Shorten the workflow name 2023-12-17 21:17:19 -08:00
basictest
benchmark
bin
bootstraptest Avoid underflow of rb_yjit_live_iseq_count 2023-12-21 20:43:01 -08:00
ccan
coroutine coroutine/arm64: Skip saving/restoring x30 twice and use `autiasp` 2023-12-22 11:30:00 +09:00
coverage
cygwin
defs
doc RJIT: Clean up unnecessary documentation 2023-12-21 16:47:13 -08:00
enc
ext [ruby/psych] Bump up 5.1.2 2023-12-19 11:07:47 +09:00
gems debug.gem v1.9.1 2023-12-22 12:45:31 +09:00
include Typo fixes for public headers [ci skip] 2023-12-21 20:34:49 -05:00
internal Correct free_on_exit env var to free_at_exit 2023-12-20 14:36:32 +09:00
lib RJIT: Avoid retaining unrelated local variables in memory 2023-12-21 23:00:18 -08:00
libexec
man
misc
missing
prism Revert all of commits after Prism 0.19.0 release 2023-12-16 11:08:51 +08:00
sample
spec Merge RubyGems-3.5.2 and Bundler-2.5.2 2023-12-22 07:24:04 +09:00
template Revert "[Bug #19831] Remove duplicate library options" 2023-12-20 13:46:39 +09:00
test [Bug #19977] Fix (nil..nil) === x not to raise TypeError 2023-12-22 16:15:33 +09:00
tool Add tool/missing-baseruby.bat, used when BASERUBY not available 2023-12-19 21:30:47 -08:00
wasm
win32
yjit YJIT: Add stats option to RubyVM::YJIT.enable (#9297) 2023-12-19 11:47:27 -08:00
.appveyor.yml
.dir-locals.el
.document
.editorconfig
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.indent.pro
.rdoc_options
.rspec_parallel
.travis.yml .travis.yml: Try another way to be notified. 2023-12-22 15:06:47 +01:00
BSDL
CONTRIBUTING.md
COPYING
COPYING.ja
GPL
KNOWNBUGS.rb
LEGAL
NEWS.md [DOC] Fix NEWS markup 2023-12-22 15:53:41 +09:00
README.EXT
README.EXT.ja
README.ja.md
README.md
aclocal.m4
addr2line.c
addr2line.h
array.c Fix ary_make_partial_step for compaction 2023-12-21 10:39:03 -05:00
array.rb
ast.c
ast.rb
autogen.sh
bignum.c
builtin.c
builtin.h
class.c Set m_tbl right after allocation 2023-12-19 13:09:36 -08:00
common.mk Fix ext/socket/constdefs.c dependency [ci skip] 2023-12-17 20:14:41 +09:00
compar.c
compile.c Introduce --parser runtime flag 2023-12-15 13:42:19 -05:00
complex.c RDoc for Complex 2023-12-19 17:29:09 -05:00
configure.ac KQueue support for M:N threads 2023-12-20 16:23:38 +09:00
constant.h
cont.c
darray.h
debug.c
debug_counter.c
debug_counter.h
dir.c [DOC] Add links from `File::Constants` in dir.c to `File` constants 2023-12-18 20:17:44 +09:00
dir.rb
dln.c [wasm] dln.c: Guard `dladdr` use in symbol incompatibility check 2023-12-19 11:13:38 +09:00
dln.h
dln_find.c
dmydln.c
dmyenc.c
dmyext.c
encindex.h
encoding.c
enum.c
enumerator.c
error.c [DOC] Fix NoMethodError example of rendering (#9309) 2023-12-21 22:27:18 +02:00
eval.c
eval_error.c
eval_intern.h
eval_jump.c
file.c [DOC] Add links from `File::Constants` to `File` constants 2023-12-18 20:17:44 +09:00
gc.c Correct free_on_exit env var to free_at_exit 2023-12-20 14:36:32 +09:00
gc.rb [DOC] documents of aliased methods 2023-12-18 20:17:43 +09:00
gem_prelude.rb
golf_prelude.rb
goruby.c
hash.c compare_by_identity: remove alloc for non-empty Hash 2023-12-18 14:51:16 -05:00
hrtime.h
id_table.c
id_table.h
inits.c
insns.def
internal.h
io.c use `rb_thread_io_blocking_call()` more 2023-12-20 07:00:41 +09:00
io.rb
io_buffer.c Implement IO::Buffer on VWA 2023-12-19 09:13:20 -05:00
iseq.c Avoid underflow of rb_yjit_live_iseq_count 2023-12-21 20:43:01 -08:00
iseq.h Introduce --parser runtime flag 2023-12-15 13:42:19 -05:00
kernel.rb
lex.c.blt
load.c Adjust styles [ci skip] 2023-12-17 00:21:00 +09:00
loadpath.c
localeinit.c
main.c
marshal.c
marshal.rb
math.c
memory_view.c
method.h
mini_builtin.c [DOC] No document for internal or debug methods 2023-12-18 20:17:45 +09:00
miniinit.c
nilclass.rb
node.c
node.h
node_dump.c
numeric.c
numeric.rb
object.c
pack.c
pack.rb
parse.y Extract `forwarding_arg_check` function 2023-12-22 23:08:10 +09:00
parser_bits.h
parser_node.h
parser_st.c
parser_st.h
parser_value.h
prelude.rb
prism_compile.c [PRISM] Correct the jump target for redo in FOR_NODE 2023-12-19 22:50:59 +00:00
prism_compile.h Introduce --parser runtime flag 2023-12-15 13:42:19 -05:00
prism_init.c
probes.d
probes_helper.h
proc.c
process.c KQueue support for M:N threads 2023-12-20 16:23:38 +09:00
ractor.c Use main_thread->ec from rb_vm_main_ractor_ec 2023-12-21 09:17:22 -08:00
ractor.rb remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ractor_core.h
random.c
range.c [Bug #19977] Fix (nil..nil) === x not to raise TypeError 2023-12-22 16:15:33 +09:00
rational.c
re.c [DOC] State MatchData#[] when multiple captures with the same name 2023-12-19 13:48:51 +09:00
regcomp.c
regenc.c
regenc.h
regerror.c
regexec.c
regint.h
regparse.c
regparse.h
regsyntax.c
rjit.c RJIT: Make --rjit-trace actually work 2023-12-21 21:46:19 -08:00
rjit.h RJIT: Add --rjit-trace to allow TracePoint during JIT 2023-12-21 21:05:13 -08:00
rjit.rb RJIT: Clean up unnecessary documentation 2023-12-21 16:47:13 -08:00
rjit_c.c RJIT: Correct the type of rb_vm_insns_count 2023-12-19 00:02:38 -08:00
rjit_c.h RJIT: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08:00
rjit_c.rb RJIT: Update bindgen 2023-12-21 21:10:19 -08:00
ruby-runner.c
ruby.c RJIT: Add --rjit-trace to allow TracePoint during JIT 2023-12-21 21:05:13 -08:00
ruby_assert.h
ruby_atomic.h
ruby_parser.c
rubyparser.h
rubystub.c
scheduler.c
shape.c Fix a grammar issue in the shape performance warning message 2023-12-20 09:28:45 +01:00
shape.h
signal.c signal.c: Fix undefined `reset_sigmask` use on Emscripten 2023-12-19 12:40:43 +09:00
siphash.c
siphash.h
sparc.c
sprintf.c
st.c
strftime.c
string.c Stir the hash value more with encoding index 2023-12-17 00:30:00 +09:00
string.rb
struct.c
symbol.c
symbol.h
symbol.rb
thread.c Hand thread into `thread_sched_wait_events_timeval` 2023-12-20 16:23:38 +09:00
thread_none.c
thread_none.h
thread_pthread.c KQueue support for M:N threads 2023-12-20 16:23:38 +09:00
thread_pthread.h
thread_pthread_mn.c skip `MAP_STACK` on FreeBSD 2023-12-20 17:00:55 +09:00
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
universal_parser.c
util.c
variable.c
variable.h
version.c Introduce --parser runtime flag 2023-12-15 13:42:19 -05:00
version.h
vm.c Correct free_on_exit env var to free_at_exit 2023-12-20 14:36:32 +09:00
vm_args.c
vm_backtrace.c Make rb_profile_frames return 0 for NULL ec 2023-12-21 15:23:19 -08:00
vm_callinfo.h
vm_core.h
vm_debug.h
vm_dump.c
vm_eval.c
vm_exec.c RJIT: Correct the macro that defines rb_vm_insns_count 2023-12-19 00:06:21 -08:00
vm_exec.h
vm_insnhelper.c
vm_insnhelper.h RJIT: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08:00
vm_method.c
vm_opts.h
vm_sync.c
vm_sync.h
vm_trace.c
vsnprintf.c
warning.rb
weakmap.c
yjit.c YJIT: Add stats option to RubyVM::YJIT.enable (#9297) 2023-12-19 11:47:27 -08:00
yjit.h
yjit.rb YJIT: Add stats option to RubyVM::YJIT.enable (#9297) 2023-12-19 11:47:27 -08:00

README.md

Actions Status: MinGW Actions Status: RJIT Actions Status: Ubuntu Actions Status: Windows AppVeyor status Travis 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://docs.ruby-lang.org/en/master/maintainers_md.html#label-Platform+Maintainers

How to get Ruby

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

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

You can download release packages and the snapshot of the repository. If you want to download whole versions of Ruby, please visit https://www.ruby-lang.org/en/downloads/releases/.

Download with Git

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:

join

in the mail subject (not body) to the address ruby-talk-request@ml.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