jruby-prism-parser 0.23.0.pre.SNAPSHOT-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +401 -0
- data/CODE_OF_CONDUCT.md +76 -0
- data/CONTRIBUTING.md +62 -0
- data/LICENSE.md +7 -0
- data/Makefile +101 -0
- data/README.md +98 -0
- data/config.yml +2902 -0
- data/docs/build_system.md +91 -0
- data/docs/configuration.md +64 -0
- data/docs/cruby_compilation.md +27 -0
- data/docs/design.md +53 -0
- data/docs/encoding.md +121 -0
- data/docs/fuzzing.md +88 -0
- data/docs/heredocs.md +36 -0
- data/docs/javascript.md +118 -0
- data/docs/local_variable_depth.md +229 -0
- data/docs/mapping.md +117 -0
- data/docs/parser_translation.md +34 -0
- data/docs/parsing_rules.md +19 -0
- data/docs/releasing.md +98 -0
- data/docs/ripper.md +36 -0
- data/docs/ruby_api.md +43 -0
- data/docs/ruby_parser_translation.md +19 -0
- data/docs/serialization.md +209 -0
- data/docs/testing.md +55 -0
- data/ext/prism/api_node.c +5098 -0
- data/ext/prism/api_pack.c +267 -0
- data/ext/prism/extconf.rb +110 -0
- data/ext/prism/extension.c +1155 -0
- data/ext/prism/extension.h +18 -0
- data/include/prism/ast.h +5807 -0
- data/include/prism/defines.h +102 -0
- data/include/prism/diagnostic.h +339 -0
- data/include/prism/encoding.h +265 -0
- data/include/prism/node.h +57 -0
- data/include/prism/options.h +230 -0
- data/include/prism/pack.h +152 -0
- data/include/prism/parser.h +732 -0
- data/include/prism/prettyprint.h +26 -0
- data/include/prism/regexp.h +33 -0
- data/include/prism/util/pm_buffer.h +155 -0
- data/include/prism/util/pm_char.h +205 -0
- data/include/prism/util/pm_constant_pool.h +209 -0
- data/include/prism/util/pm_list.h +97 -0
- data/include/prism/util/pm_memchr.h +29 -0
- data/include/prism/util/pm_newline_list.h +93 -0
- data/include/prism/util/pm_state_stack.h +42 -0
- data/include/prism/util/pm_string.h +150 -0
- data/include/prism/util/pm_string_list.h +44 -0
- data/include/prism/util/pm_strncasecmp.h +32 -0
- data/include/prism/util/pm_strpbrk.h +46 -0
- data/include/prism/version.h +29 -0
- data/include/prism.h +289 -0
- data/jruby-prism.jar +0 -0
- data/lib/prism/compiler.rb +486 -0
- data/lib/prism/debug.rb +206 -0
- data/lib/prism/desugar_compiler.rb +207 -0
- data/lib/prism/dispatcher.rb +2150 -0
- data/lib/prism/dot_visitor.rb +4634 -0
- data/lib/prism/dsl.rb +785 -0
- data/lib/prism/ffi.rb +346 -0
- data/lib/prism/lex_compat.rb +908 -0
- data/lib/prism/mutation_compiler.rb +753 -0
- data/lib/prism/node.rb +17864 -0
- data/lib/prism/node_ext.rb +212 -0
- data/lib/prism/node_inspector.rb +68 -0
- data/lib/prism/pack.rb +224 -0
- data/lib/prism/parse_result/comments.rb +177 -0
- data/lib/prism/parse_result/newlines.rb +64 -0
- data/lib/prism/parse_result.rb +498 -0
- data/lib/prism/pattern.rb +250 -0
- data/lib/prism/serialize.rb +1354 -0
- data/lib/prism/translation/parser/compiler.rb +1838 -0
- data/lib/prism/translation/parser/lexer.rb +335 -0
- data/lib/prism/translation/parser/rubocop.rb +37 -0
- data/lib/prism/translation/parser.rb +178 -0
- data/lib/prism/translation/ripper.rb +577 -0
- data/lib/prism/translation/ruby_parser.rb +1521 -0
- data/lib/prism/translation.rb +11 -0
- data/lib/prism/version.rb +3 -0
- data/lib/prism/visitor.rb +495 -0
- data/lib/prism.rb +99 -0
- data/prism.gemspec +135 -0
- data/rbi/prism.rbi +7767 -0
- data/rbi/prism_static.rbi +207 -0
- data/sig/prism.rbs +4773 -0
- data/sig/prism_static.rbs +201 -0
- data/src/diagnostic.c +400 -0
- data/src/encoding.c +5132 -0
- data/src/node.c +2786 -0
- data/src/options.c +213 -0
- data/src/pack.c +493 -0
- data/src/prettyprint.c +8881 -0
- data/src/prism.c +18406 -0
- data/src/regexp.c +638 -0
- data/src/serialize.c +1554 -0
- data/src/token_type.c +700 -0
- data/src/util/pm_buffer.c +190 -0
- data/src/util/pm_char.c +318 -0
- data/src/util/pm_constant_pool.c +322 -0
- data/src/util/pm_list.c +49 -0
- data/src/util/pm_memchr.c +35 -0
- data/src/util/pm_newline_list.c +84 -0
- data/src/util/pm_state_stack.c +25 -0
- data/src/util/pm_string.c +203 -0
- data/src/util/pm_string_list.c +28 -0
- data/src/util/pm_strncasecmp.c +24 -0
- data/src/util/pm_strpbrk.c +180 -0
- metadata +156 -0
data/prism.gemspec
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/prism/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "jruby-prism-parser"
|
7
|
+
spec.version = Prism::VERSION
|
8
|
+
spec.authors = ["JRuby Team"]
|
9
|
+
spec.email = ["admin@jruby.org"]
|
10
|
+
spec.platform = 'java'
|
11
|
+
|
12
|
+
spec.summary = "Prism JRuby Parser Support"
|
13
|
+
spec.homepage = "https://github.com/jruby/jruby-prism"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.required_ruby_version = ">= 2.7.0"
|
17
|
+
|
18
|
+
spec.requirements << "jar org.jruby, jruby-prism, #{Prism::VERSION}, :scope => :runtime"
|
19
|
+
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
spec.files = [
|
22
|
+
"CHANGELOG.md",
|
23
|
+
"CODE_OF_CONDUCT.md",
|
24
|
+
"CONTRIBUTING.md",
|
25
|
+
"LICENSE.md",
|
26
|
+
"Makefile",
|
27
|
+
"README.md",
|
28
|
+
"config.yml",
|
29
|
+
"docs/build_system.md",
|
30
|
+
"docs/configuration.md",
|
31
|
+
"docs/cruby_compilation.md",
|
32
|
+
"docs/design.md",
|
33
|
+
"docs/encoding.md",
|
34
|
+
"docs/fuzzing.md",
|
35
|
+
"docs/heredocs.md",
|
36
|
+
"docs/javascript.md",
|
37
|
+
"docs/local_variable_depth.md",
|
38
|
+
"docs/mapping.md",
|
39
|
+
"docs/parser_translation.md",
|
40
|
+
"docs/parsing_rules.md",
|
41
|
+
"docs/releasing.md",
|
42
|
+
"docs/ripper.md",
|
43
|
+
"docs/ruby_api.md",
|
44
|
+
"docs/ruby_parser_translation.md",
|
45
|
+
"docs/serialization.md",
|
46
|
+
"docs/testing.md",
|
47
|
+
"ext/prism/api_node.c",
|
48
|
+
"ext/prism/api_pack.c",
|
49
|
+
"ext/prism/extension.c",
|
50
|
+
"ext/prism/extension.h",
|
51
|
+
"include/prism.h",
|
52
|
+
"include/prism/ast.h",
|
53
|
+
"include/prism/defines.h",
|
54
|
+
"include/prism/diagnostic.h",
|
55
|
+
"include/prism/encoding.h",
|
56
|
+
"include/prism/node.h",
|
57
|
+
"include/prism/options.h",
|
58
|
+
"include/prism/pack.h",
|
59
|
+
"include/prism/parser.h",
|
60
|
+
"include/prism/prettyprint.h",
|
61
|
+
"include/prism/regexp.h",
|
62
|
+
"include/prism/util/pm_buffer.h",
|
63
|
+
"include/prism/util/pm_char.h",
|
64
|
+
"include/prism/util/pm_constant_pool.h",
|
65
|
+
"include/prism/util/pm_list.h",
|
66
|
+
"include/prism/util/pm_memchr.h",
|
67
|
+
"include/prism/util/pm_newline_list.h",
|
68
|
+
"include/prism/util/pm_state_stack.h",
|
69
|
+
"include/prism/util/pm_strncasecmp.h",
|
70
|
+
"include/prism/util/pm_string.h",
|
71
|
+
"include/prism/util/pm_string_list.h",
|
72
|
+
"include/prism/util/pm_strpbrk.h",
|
73
|
+
"include/prism/version.h",
|
74
|
+
"lib/prism.rb",
|
75
|
+
"lib/prism/compiler.rb",
|
76
|
+
"lib/prism/debug.rb",
|
77
|
+
"lib/prism/desugar_compiler.rb",
|
78
|
+
"lib/prism/dispatcher.rb",
|
79
|
+
"lib/prism/dot_visitor.rb",
|
80
|
+
"lib/prism/dsl.rb",
|
81
|
+
"lib/prism/ffi.rb",
|
82
|
+
"lib/prism/lex_compat.rb",
|
83
|
+
"lib/prism/mutation_compiler.rb",
|
84
|
+
"lib/prism/node_ext.rb",
|
85
|
+
"lib/prism/node_inspector.rb",
|
86
|
+
"lib/prism/node.rb",
|
87
|
+
"lib/prism/pack.rb",
|
88
|
+
"lib/prism/parse_result.rb",
|
89
|
+
"lib/prism/parse_result/comments.rb",
|
90
|
+
"lib/prism/parse_result/newlines.rb",
|
91
|
+
"lib/prism/pattern.rb",
|
92
|
+
"lib/prism/serialize.rb",
|
93
|
+
"lib/prism/translation.rb",
|
94
|
+
"lib/prism/translation/parser.rb",
|
95
|
+
"lib/prism/translation/parser/compiler.rb",
|
96
|
+
"lib/prism/translation/parser/lexer.rb",
|
97
|
+
"lib/prism/translation/parser/rubocop.rb",
|
98
|
+
"lib/prism/translation/ripper.rb",
|
99
|
+
"lib/prism/translation/ruby_parser.rb",
|
100
|
+
"lib/prism/visitor.rb",
|
101
|
+
"src/diagnostic.c",
|
102
|
+
"src/encoding.c",
|
103
|
+
"src/node.c",
|
104
|
+
"src/pack.c",
|
105
|
+
"src/prettyprint.c",
|
106
|
+
"src/regexp.c",
|
107
|
+
"src/serialize.c",
|
108
|
+
"src/token_type.c",
|
109
|
+
"src/util/pm_buffer.c",
|
110
|
+
"src/util/pm_char.c",
|
111
|
+
"src/util/pm_constant_pool.c",
|
112
|
+
"src/util/pm_list.c",
|
113
|
+
"src/util/pm_memchr.c",
|
114
|
+
"src/util/pm_newline_list.c",
|
115
|
+
"src/util/pm_state_stack.c",
|
116
|
+
"src/util/pm_string.c",
|
117
|
+
"src/util/pm_string_list.c",
|
118
|
+
"src/util/pm_strncasecmp.c",
|
119
|
+
"src/util/pm_strpbrk.c",
|
120
|
+
"src/options.c",
|
121
|
+
"src/prism.c",
|
122
|
+
"prism.gemspec",
|
123
|
+
"sig/prism.rbs",
|
124
|
+
"sig/prism_static.rbs",
|
125
|
+
"rbi/prism.rbi",
|
126
|
+
"rbi/prism_static.rbi",
|
127
|
+
"lib/prism/version.rb",
|
128
|
+
"jruby-prism.jar"
|
129
|
+
]
|
130
|
+
|
131
|
+
spec.extensions = ["ext/prism/extconf.rb"]
|
132
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
133
|
+
spec.metadata["source_code_uri"] = "https://github.com/ruby/prism"
|
134
|
+
spec.metadata["changelog_uri"] = "https://github.com/ruby/prism/blob/main/CHANGELOG.md"
|
135
|
+
end
|