Kevin Newton 23beceedb7 [ruby/prism] IndexTargetNode should always have ATTRIBUTE_WRITE
Because this is a user-facing change, we also need to deal with the
fact that CRuby 3.3.0 was just released.

In order to support workflows that want to parse exactly as CRuby
parses in a specific version, this PR introduces a new option to
the options struct that is "version". This allows you to specify
that you want "3.3.0" parsing.

I'm not sure if this is the correct solution. Another solution is
to just fork and keep around the old branch for security patches.
Or we could keep around a copy of the source files within this
repository as another directory and only update when necessary.
There are a lot of potential solutions here.

Because this change is so small and the check for it is so minimal,
I've decided to go with this enum. If this ends up entirely
cluttering the codebase with version checks, we'll come up with
another solution. But for now this works, so we're going to go in
this direction for a bit until we determine it's no longer working.

https://github.com/ruby/prism/commit/d8c7e6bd10
2024-01-02 18:51:18 +00:00
2023-12-28 23:53:15 +09:00
2023-11-14 16:22:03 -05:00
2023-11-23 17:17:28 +09:00
2024-01-02 14:00:31 +00:00
2023-12-31 11:52:19 +00:00
2024-01-02 14:19:42 +09:00
2024-01-02 14:19:42 +09:00
2023-12-07 15:52:35 -05:00
2023-11-23 02:15:42 +09:00
2023-11-23 17:17:28 +09:00
2023-09-26 02:07:32 +09:00
2023-12-27 11:11:42 -05:00
2024-01-02 14:19:42 +09:00
2023-12-07 15:52:35 -05:00
2023-12-19 13:09:36 -08:00
2024-01-02 14:19:42 +09:00
2024-01-02 14:19:42 +09:00
2023-08-25 09:01:21 -04:00
2023-10-12 14:47:01 +09:00
2023-11-14 15:56:57 +09:00
2023-12-07 15:52:35 -05:00
2023-09-27 16:18:05 +09:00
2023-12-25 22:10:20 -05:00
2023-12-18 20:17:43 +09:00
GPL
2023-12-23 08:10:41 +09:00
2023-09-28 10:43:45 -07:00
2023-12-15 13:42:19 -05:00
2023-12-17 00:21:00 +09:00
2023-12-07 15:52:35 -05:00
2023-09-27 16:18:05 +09:00
2023-12-07 15:52:35 -05:00
2024-01-02 14:19:42 +09:00
2024-01-02 14:19:42 +09:00
2023-10-14 11:08:43 +09:00
2023-10-06 16:33:44 +09:00
2024-01-02 14:19:42 +09:00
2023-12-15 11:58:43 +09:00
2024-01-02 09:13:43 -08:00
2023-12-12 17:24:17 -05:00
2023-12-07 15:52:35 -05:00
2023-12-27 19:31:56 -05:00
2023-11-03 10:41:48 +09:00
2023-11-08 08:05:58 -05:00
2023-11-03 10:41:48 +09:00
2023-12-22 11:24:04 -08:00
2023-12-22 22:18:14 -08:00
2024-01-02 14:19:42 +09:00
2024-01-02 14:19:42 +09:00
2023-12-04 13:57:12 -05:00
2023-12-24 21:29:40 -05:00
2023-11-14 15:56:57 +09:00
2023-12-07 15:52:35 -05:00
2023-10-12 14:47:01 +09:00
2023-12-02 21:48:00 +09:00
2023-12-02 21:48:00 +09:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2023-12-15 13:42:19 -05:00
2023-11-23 17:17:28 +09:00
2023-10-12 14:47:01 +09:00
2023-12-07 09:23:02 -08:00

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

Description
Languages
Ruby 58.9%
C 29.5%
Rust 6.1%
C++ 2.9%
Yacc 0.9%
Other 1.6%