development fork of ruby/ruby
Перейти к файлу
tomoya ishida d0412599e0 [ruby/irb] Improve constant lookup in SourceFinder
(https://github.com/ruby/irb/pull/871)

https://github.com/ruby/irb/commit/87c279ccf2
2024-02-14 13:46:49 +00:00
.github Bump github/codeql-action from 3.24.0 to 3.24.1 2024-02-14 12:17:23 +09:00
basictest
benchmark Avoid allocation when passing no keywords to anonymous kwrest methods 2024-02-13 11:05:26 -05:00
bin
bootstraptest [PRISM] Switch bootstraptest syntax error assertions to handle multiline 2024-02-13 21:19:12 -05:00
ccan
coroutine Win32: Use prototype 2024-02-11 20:55:26 +09:00
coverage Fix Typo 2021-06-07 10:22:55 +09:00
cygwin
defs
doc Fix typo in asan section of building_ruby.md docs 2024-02-13 10:07:04 +09:00
enc Add `modencs` target to build encodings/transcoders as modules 2023-09-11 11:06:49 +09:00
ext [ruby/strscan] Bump version 2024-02-08 14:43:56 +09:00
gems Bundle rbs-3.4.4 (#9883) 2024-02-08 14:17:01 +00:00
include Win32: Fix pre-defined macros for platforms 2024-02-11 19:43:06 +09:00
internal Specialize String#byteslice(a, b) (#9939) 2024-02-13 16:20:27 +00:00
lib [ruby/irb] Improve constant lookup in SourceFinder 2024-02-14 13:46:49 +00:00
libexec
man
misc
missing
prism [ruby/prism] Match up token name to CRuby 2024-02-14 01:42:01 +00:00
sample
spec proc.c: get rid of `CLONESETUP` 2024-02-12 18:31:48 +01:00
template Alias init functions 2024-02-04 16:43:09 +09:00
test [ruby/irb] Improve constant lookup in SourceFinder 2024-02-14 13:46:49 +00:00
tool Skip to install bundled gems that is C extension and build failed. 2024-02-09 14:40:12 +09:00
wasm
win32 Win32: Include stdio.h for `printf` 2024-02-12 01:09:51 +09:00
yjit byteslice can return nil so we have to push an "unknown" value 2024-02-13 10:10:19 -08:00
.dir-locals.el
.document
.editorconfig
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.indent.pro
.rdoc_options
.rspec_parallel
.travis.yml
BSDL
CONTRIBUTING.md
COPYING
COPYING.ja
GPL
KNOWNBUGS.rb
LEGAL
NEWS.md Update bundled gems list at 443c5c06ac [ci skip] 2024-02-08 14:17:39 +00:00
README.EXT
README.EXT.ja
README.ja.md
README.md
aclocal.m4
addr2line.c Move an embedded directive outside macro arguments 2024-02-08 12:06:07 +09:00
addr2line.h
array.c Comply with doc guide 2024-02-12 16:52:14 -05:00
array.rb
ast.c Remove ruby object from string nodes 2024-02-09 14:20:17 +09:00
ast.rb
autogen.sh
bignum.c Replace assert with RUBY_ASSERT in bignum.c 2024-02-12 15:07:47 -05:00
builtin.c
builtin.h
class.c
common.mk [PRISM] Fix up common.mk dependencies 2024-02-13 20:32:19 -05:00
compar.c
compile.c Replace assert with RUBY_ASSERT in compile.c 2024-02-12 15:07:47 -05:00
complex.c Replace assert with RUBY_ASSERT in complex.c 2024-02-12 15:07:47 -05:00
configure.ac
constant.h
cont.c
darray.h Replace assert with RUBY_ASSERT in darray.h 2024-02-12 15:07:47 -05:00
debug.c
debug_counter.c
debug_counter.h
dir.c
dir.rb
dln.c Do not define ABI version in statically linked objects 2024-02-04 20:33:45 +09:00
dln.h
dln_find.c
dmydln.c
dmyenc.c
dmyext.c
encindex.h
encoding.c
enum.c Replace assert with RUBY_ASSERT in enum.c 2024-02-12 15:07:47 -05:00
enumerator.c
error.c Optional detail info at assertion failure 2024-02-08 18:08:41 +09:00
eval.c
eval_error.c
eval_intern.h
eval_jump.c
file.c
gc.c Comment about not marking RSYMBOL(obj)->fstr [ci skip] 2024-02-13 14:49:54 -05:00
gc.rb
gem_prelude.rb
golf_prelude.rb
goruby.c
hash.c [DOC] Doc compliance (#9944) 2024-02-13 13:49:35 -05:00
hrtime.h
id_table.c Replace assert with RUBY_ASSERT in id_table.c 2024-02-12 15:07:47 -05:00
id_table.h
inits.c
insns.def Allow `foo(**nil, &block_arg)` 2024-02-12 13:02:50 -05:00
internal.h
io.c More on IO doc (#9842) 2024-02-09 12:08:54 -05:00
io.rb
io_buffer.c
iseq.c [PRISM] Use Prism for `eval` if enabled 2024-02-13 21:19:12 -05:00
iseq.h
kernel.rb
lex.c.blt
load.c Replace assert with RUBY_ASSERT in load.c 2024-02-12 15:07:47 -05:00
loadpath.c
localeinit.c
main.c Adjust styles [ci skip] 2024-02-12 16:50:30 +09:00
marshal.c
marshal.rb
math.c
memory_view.c
method.h
mini_builtin.c
miniinit.c
nilclass.rb
node.c Remove ruby object from string nodes 2024-02-09 14:20:17 +09:00
node.h
node_dump.c Fix [BUG] unknown node for NODE_ENCODING 2024-02-12 14:49:07 +09:00
numeric.c Replace assert with RUBY_ASSERT in numeric.c 2024-02-12 15:07:47 -05:00
numeric.rb
object.c proc.c: get rid of `CLONESETUP` 2024-02-12 18:31:48 +01:00
pack.c
pack.rb
parse.y Fix memory leak when parsing invalid hash symbol 2024-02-13 11:05:56 -05:00
parser_bits.h
parser_node.h
parser_st.c
parser_st.h
parser_value.h
prelude.rb
prism_compile.c [PRISM] yield is invalid inside eval 2024-02-13 21:19:12 -05:00
prism_compile.h [PRISM] Compile constant reads using opt_getconstant_path 2024-02-08 11:53:10 -05:00
prism_init.c
probes.d
probes_helper.h
proc.c proc.c: get rid of `CLONESETUP` 2024-02-12 18:31:48 +01:00
process.c
ractor.c
ractor.rb
ractor_core.h
random.c
range.c Replace assert with RUBY_ASSERT in range.c 2024-02-12 15:07:47 -05:00
rational.c Replace assert with RUBY_ASSERT in rational.c 2024-02-12 15:07:47 -05:00
re.c Fix memory leak in OnigRegion when match raises 2024-02-02 10:39:42 -05:00
regcomp.c Fix [Bug #20246]: Don't set next_head_exact if a capture is called (#9897) 2024-02-13 09:53:03 +09:00
regenc.c [Bug #20239] Fix overflow at down-casting 2024-02-07 15:14:26 +09:00
regenc.h
regerror.c
regexec.c [Bug #20239] Fix overflow at down-casting 2024-02-07 15:14:26 +09:00
regint.h
regparse.c
regparse.h
regsyntax.c
rjit.c
rjit.h
rjit.rb
rjit_c.c
rjit_c.h
rjit_c.rb
ruby-runner.c
ruby.c Enable redefinition check for rbinc methods 2024-02-12 11:51:06 -08:00
ruby_assert.h
ruby_atomic.h
ruby_parser.c Fix memory leak when parsing invalid hash symbol 2024-02-13 11:05:56 -05:00
rubyparser.h Fix memory leak when parsing invalid hash symbol 2024-02-13 11:05:56 -05:00
rubystub.c
scheduler.c
shape.c
shape.h
signal.c
siphash.c
siphash.h
sparc.c
sprintf.c
st.c Move clean-up after table rebuilding 2024-02-09 11:09:56 +09:00
strftime.c
string.c Fix use-after-move in Symbol#inspect 2024-02-13 14:49:54 -05:00
string.rb
struct.c
symbol.c Change dsymbol_alloc to use NEWOBJ_OF 2024-02-13 15:30:06 -05:00
symbol.h
symbol.rb
thread.c
thread_none.c
thread_none.h
thread_pthread.c notify ASAN about M:N threading stack switches 2024-02-06 22:23:42 +11:00
thread_pthread.h
thread_pthread_mn.c Fix a warning with USE_RUBY_DEBUG_LOG=1 on macOS 2024-02-14 10:40:26 +09:00
thread_sync.c Replace assert with RUBY_ASSERT in thread_sync.c 2024-02-12 15:07:47 -05:00
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 Fix memory leak when parsing invalid hash symbol 2024-02-13 11:05:56 -05:00
util.c
variable.c
variable.h
vcpkg.json
version.c
version.h
vm.c Enable redefinition check for rbinc methods 2024-02-12 11:51:06 -08:00
vm_args.c Avoid allocation when passing no keywords to anonymous kwrest methods 2024-02-13 11:05:26 -05:00
vm_backtrace.c
vm_callinfo.h
vm_core.h Show actual imemo type when unexpected type 2024-02-08 18:08:42 +09:00
vm_debug.h
vm_dump.c
vm_eval.c [PRISM] Prism/eval should handle file names provided 2024-02-13 21:19:12 -05:00
vm_exec.c
vm_exec.h
vm_insnhelper.c YJIT: Prefer an overloaded cme if available (#9913) 2024-02-12 12:56:44 -05:00
vm_insnhelper.h
vm_method.c Enable redefinition check for rbinc methods 2024-02-12 11:51:06 -08:00
vm_opts.h
vm_sync.c
vm_sync.h
vm_trace.c
vsnprintf.c
warning.rb
weakmap.c Replace assert with RUBY_ASSERT in weakmap.c 2024-02-12 15:07:47 -05:00
yjit.c YJIT: Add top ISEQ call counts to --yjit-stats (#9906) 2024-02-09 22:12:24 +00:00
yjit.h
yjit.rb YJIT: Adjust the padding size of counts automatically (#9912) 2024-02-12 11:56:24 -05: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