Commit graph

90 commits

Author SHA1 Message Date
Hiroshi SHIBATA
048751dd73
Generate parser-text.rb with bcdc058e50 2023-01-12 07:54:39 +09:00
Jean Boussier
bcdc058e50 [ruby/racc] Get rid of anonymous eval calls
Things declared in anonymous eval are always annoying to locate.
(profilers, etc)

f304205256
2023-01-12 07:52:29 +09:00
Masataka Pocke Kuwabara
11e15b4d48 [ruby/racc] Make racc Ractor compatible
1948de9d1d
2023-01-12 07:52:25 +09:00
Hiroshi SHIBATA
3ade713967
Bump version to 1.6.2 2022-12-23 09:51:52 +09:00
Jeremy Evans
7e8fa06022 Always issue deprecation warning when calling Regexp.new with 3rd positional argument
Previously, only certain values of the 3rd argument triggered a
deprecation warning.

First step for fix for bug #18797.  Support for the 3rd argument
will be removed after the release of Ruby 3.2.

Fix minor fallout discovered by the tests.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-22 11:50:26 -08:00
Hiroshi SHIBATA
5fb3dec058 [ruby/racc] Bump version to 1.6.1
1768ed252f
2022-12-05 04:55:35 +00:00
Johnny Willemsen
2652bc3578 [ruby/racc] Update racc.gemspec
Updated homepage to https://github.com/ruby/racc
2022-11-15 08:15:19 +00:00
Hiroshi SHIBATA
4e886d2ade Update parser-text.rb with 4ecc13c9cb 2022-07-29 19:10:10 +09:00
Nobuyoshi Nakada
1cc64a5514 [ruby/racc] Fix flag to Regexp.new
Probably intended to pass encoding "none".

65cd26efd8
2022-06-16 21:43:53 +09:00
Nobuyoshi Nakada
774b9e27ae [ruby/racc] [DOC] Remove stale Object::ParseError documentation
4ecc13c9cb
2022-05-16 12:24:10 +09:00
Nobuyoshi Nakada
e1ae889c9c [ruby/racc] Fix a private method name
1f52571225
2021-11-04 08:58:45 +09:00
Nobuyoshi Nakada
acf5ccd185 [ruby/racc] Fix typo in a local variable name
03d0b86b90
2021-11-04 08:58:44 +09:00
Hiroshi SHIBATA
6b1efc54c8 [ruby/racc] Bump up racc version to 1.6.0
0c5fe2637c
2021-10-19 21:13:29 +09:00
Olle Jonsson
92ac1721c2 [ruby/racc] gemspec: Link to https in homepage [ci skip]
96075f7720
2021-09-15 16:55:12 +09:00
Hiroshi SHIBATA
95dd461387
[ruby/racc] Removed pre-setup from gemspec
2f6f02e5c1
2021-07-19 11:59:42 +09:00
Hiroshi SHIBATA
dbcfc8d499
[ruby/racc] Removed needless files from gemspec
d044ae883f
2021-07-19 11:59:42 +09:00
Hiroshi SHIBATA
b5b3cd2722
[ruby/racc] Move document from library directory
2e8d7d286d
2021-07-19 11:59:41 +09:00
Hiroshi SHIBATA
7217f60bb3 [ruby/racc] Removed generate code from parser.rb. It's already migrated by rake task
ec7d01980a
2021-07-19 11:54:35 +09:00
Bruno Arueira
23c4b93e54 [ruby/racc] Shrink gem size
27e2a64e13
2021-07-18 20:38:28 +09:00
Hiroshi SHIBATA
b048fd572a
Followed up 66d2fc7989 2021-06-25 17:27:17 +09:00
Aaron Patterson
b036a44e57
[ruby/racc] Remove Object monkey patch
I don't think we need this monkey patch anymore, so lets remove it!

464485e912
2021-06-25 17:26:27 +09:00
Hiroshi SHIBATA
7641a83d1f
[ruby/racc] Removed needless condition for old versions of RubyGems.
fe3183b1ff
2021-06-25 17:26:27 +09:00
Hiroshi SHIBATA
dd0a9507a2
[ruby/racc] Drop to support Ruby 2.4
5af1a42a3b
2021-06-25 17:26:27 +09:00
Hiroshi SHIBATA
77c1f6b1ec
[ruby/racc] Followed up #162
d66cd12166
2021-06-25 17:26:27 +09:00
Jean Boussier
71344a1d63 [ruby/racc] Stop compressing integer lists
It is unclear why this was implemented, I assume
it was for performance back in 2006.

However today, this compression defeats bytecode caching
entirely and end up being counter productive.

ae3703c1d0
2021-06-25 17:23:06 +09:00
aycabta
66d2fc7989 Enclose the code that was accidentally a link in "tt" 2021-03-31 15:18:52 +09:00
Hiroshi SHIBATA
bb04856bca [ruby/racc] Bump version to 1.5.2
ce0d7b9cde
2020-12-26 15:10:49 +09:00
Hiroshi SHIBATA
533bf6f19d [ruby/racc] Use Racc::VERSION for gemspec
30f5760d85
2020-12-26 15:10:28 +09:00
Hiroshi SHIBATA
0b19f33480 [ruby/racc] Bump version to 1.5.1
2cb3055a73
2020-11-10 21:35:04 +09:00
Hiroshi SHIBATA
5a19b492da [ruby/racc] Use the Ruby license. Fix #134
7c881cd548
2020-11-10 21:20:31 +09:00
Yusuke Endoh
2fed5f0ad8 lib/racc/statetransitiontable.rb: Make the racc output stable
Racc calls `Array#sort!` to build a state transition table. As
`Array#sort!` is not a stable sort, the output may differ depending upon
the environment.

This changeset makes the sort stable manually, and updates all
expectation files.
2020-11-10 07:49:19 +09:00
Hiroshi SHIBATA
ba1472f43a
Removed needless require for 'enumerator' 2020-11-09 14:18:38 +09:00
Nobuyoshi Nakada
3198e7abd7
Separate send into public_send and __send__ 2020-10-27 16:12:45 +09:00
Marc-Andre Lafortune
245ed57ddc
[ruby/racc] Turn debugging off
872f75cfa7
2020-09-28 18:08:51 +09:00
Marc-Andre Lafortune
97d1a381e1
[Fixes #137] Improve reporting 2020-09-28 18:07:24 +09:00
Hiroshi SHIBATA
5b04e2362c
[ruby/racc] Fixed the licenses field of gemspec
a1aeecff03
2020-08-19 19:35:04 +09:00
Nobuyoshi Nakada
9a78e24f7d
Removed nonsense rubygems_version in input gemspec files
As it is ignored and set at building packages automatically, it is
just nonsense to set in gemspec file for input.
2020-06-25 15:44:56 +09:00
Nobuyoshi Nakada
aca935a670
Fixed typos in racc 2020-04-27 15:28:06 +09:00
Hiroshi SHIBATA
48a5c155fa
Import racc-1.5.0 from upstream repository. 2020-03-25 21:39:03 +09:00
Hiroshi SHIBATA
229ba1215f
Merge racc from upstream repository.
* Support Ruby 2.4's frozen string literals.
  * Remove VCS revisions headers.
2020-02-27 13:33:51 +09:00
Nobuyoshi Nakada
fb41246ddb
Stop parsing copyright notices as document [ci skip] 2020-01-28 23:00:13 +09:00
Nobuyoshi Nakada
17715153e5
Revert "Added RDoc files to parse [Bug #16596]"
This reverts commit 10842daeb5,
because it has no effect and the rdoc file has been installed to
lib/racc/rdoc directory.
2020-01-28 22:28:45 +09:00
Nobuyoshi Nakada
10842daeb5
Added RDoc files to parse [Bug #16596] 2020-01-28 10:04:25 +09:00
Hiroshi SHIBATA
69731b248f
Fixup a6864f6d2f 2020-01-01 07:53:27 +09:00
Nobuyoshi Nakada
e68999c82c
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
2019-12-20 12:19:45 +09:00
Hiroshi SHIBATA
e27d2013db
Import racc-1.4.1 from ruby/racc. 2019-12-10 17:04:03 +09:00
Kazuhiro NISHIYAMA
449b2b9214
Fix typos 2019-11-17 13:11:25 +09:00
Nobuyoshi Nakada
cbbdb4e5a2
[ruby/racc] Strip trailing whitespaces at the last line of actions
a887ebe529
2019-11-04 09:28:01 +09:00
Hiroshi SHIBATA
6c3ed0d71c
Update the latest versions from upstream repository of racc 2019-10-30 21:36:59 +09:00
Seiei Miyagi
5ca5529d22 Fix warning of generated parser for nested module 2019-10-17 19:23:50 -07:00