development fork of ruby/ruby
Перейти к файлу
Peter Zhu 50d39219a9 Use RICLASS_OWNS_M_TBL_P
It's more consistent with gc_mark_children.
2023-12-19 15:21:28 -05:00
.github Shorten the workflow name 2023-12-17 21:17:19 -08:00
basictest
benchmark
bin
bootstraptest remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ccan
coroutine
coverage
cygwin
defs
doc [DOC] remove reference to pre-3.0 splat operator behavior 2023-12-19 22:11:11 +09:00
enc
ext [ruby/psych] Bump up 5.1.2 2023-12-19 11:07:47 +09:00
gems Bump up bundled net-ftp gem version to 0.3.3 2023-12-15 12:57:03 +09:00
include rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005] 2023-12-14 17:39:42 +09:00
internal
lib RJIT: Avoid retaining comments unless --rjit-dump-disasm 2023-12-19 00:05:19 -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 Adjust rubygems style 2023-12-17 05:45:33 +08:00
template
test YJIT: Add stats option to RubyVM::YJIT.enable (#9297) 2023-12-19 11:47:27 -08:00
tool RJIT: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -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 [DOC] Fix Travis-CI condition 2023-12-17 21:17:48 +09:00
BSDL
CONTRIBUTING.md
COPYING
COPYING.ja
GPL
KNOWNBUGS.rb
LEGAL
NEWS.md Update default gems list at 5ea862f26e [ci skip] 2023-12-19 02:13:02 +00:00
README.EXT
README.EXT.ja
README.ja.md
README.md
aclocal.m4
addr2line.c
addr2line.h
array.c [DOC] No document for internal or debug methods 2023-12-18 20:17:45 +09:00
array.rb
ast.c
ast.rb
autogen.sh
bignum.c
builtin.c
builtin.h
class.c
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 14:30:33 -05:00
configure.ac RJIT: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08: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_symbol: make dln_sym accessible Ruby internally 2023-12-14 17:39:42 +09:00
dln_find.c
dmydln.c dln_symbol: make dln_sym accessible Ruby internally 2023-12-14 17:39:42 +09:00
dmyenc.c
dmyext.c
encindex.h
encoding.c
enum.c
enumerator.c
error.c rb_bug_for_fatal_signal: exit with the right signal 2023-12-15 17:48:43 +01:00
eval.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
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 Use RICLASS_OWNS_M_TBL_P 2023-12-19 15:21:28 -05: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 [DOC] Add documents of constants for IO#wait event mask 2023-12-18 20:17:44 +09:00
io.rb
io_buffer.c Implement IO::Buffer on VWA 2023-12-19 09:13:20 -05:00
iseq.c Adjust styles [ci skip] 2023-12-17 00:21:00 +09: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 [Bug #20062] Fixed numbered parameter syntax error 2023-12-16 02:11:51 +09:00
parser_bits.h
parser_node.h
parser_st.c check modifcation whil ar->st 2023-12-15 11:58:43 +09:00
parser_st.h
parser_value.h
prelude.rb
prism_compile.c [PRISM] Fix incorrect instructions for `default_proc=` 2023-12-15 16:23:06 -05: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 [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
ractor.c remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ractor.rb remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ractor_core.h
random.c
range.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02: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: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08:00
rjit.h RJIT: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08:00
rjit.rb
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: Share rb_vm_insns_count for vm_insns_count 2023-12-18 23:55:40 -08:00
ruby-runner.c
ruby.c We need to load builtins so that they work 2023-12-19 08:53:52 -08:00
ruby_assert.h
ruby_atomic.h
ruby_parser.c
rubyparser.h
rubystub.c
scheduler.c
shape.c Use #initialize instead of `initialize` in shape perf warning 2023-12-18 13:42:02 +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 check modifcation whil ar->st 2023-12-15 11:58:43 +09:00
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
thread_none.c
thread_none.h
thread_pthread.c clear `sched->lock_onwer` at fork 2023-12-19 02:26:37 +09:00
thread_pthread.h
thread_pthread_mn.c
thread_sync.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
thread_sync.rb
thread_win32.c
thread_win32.h
time.c
timev.h
timev.rb
trace_point.rb [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
transcode.c
transcode_data.h
universal_parser.c
util.c
variable.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
variable.h
version.c Introduce --parser runtime flag 2023-12-15 13:42:19 -05:00
version.h
vm.c [DOC] No document for internal or debug methods 2023-12-18 20:17:45 +09:00
vm_args.c
vm_backtrace.c
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 [DOC] Enhance docs for WeakMap and WeakKeyMap (#9160) 2023-12-14 23:33:33 +02:00
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