ibex-runtime 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +337 -0
- data/lib/ibex/runtime/ast_data.rb +23 -0
- data/lib/ibex/runtime/cst/annotation.rb +16 -0
- data/lib/ibex/runtime/cst/cursor.rb +68 -0
- data/lib/ibex/runtime/cst/diff.rb +80 -0
- data/lib/ibex/runtime/cst/editing.rb +56 -0
- data/lib/ibex/runtime/cst/editor.rb +94 -0
- data/lib/ibex/runtime/cst/green/builder.rb +211 -0
- data/lib/ibex/runtime/cst/green/cache.rb +150 -0
- data/lib/ibex/runtime/cst/green/node.rb +78 -0
- data/lib/ibex/runtime/cst/green/token.rb +91 -0
- data/lib/ibex/runtime/cst/green/trivia.rb +36 -0
- data/lib/ibex/runtime/cst/incremental/blender.rb +233 -0
- data/lib/ibex/runtime/cst/incremental/lexed_syntax.rb +28 -0
- data/lib/ibex/runtime/cst/incremental/parse_memo.rb +95 -0
- data/lib/ibex/runtime/cst/incremental/relexer.rb +134 -0
- data/lib/ibex/runtime/cst/incremental/session.rb +229 -0
- data/lib/ibex/runtime/cst/incremental/token_memo.rb +66 -0
- data/lib/ibex/runtime/cst/kind.rb +133 -0
- data/lib/ibex/runtime/cst/parse_result.rb +41 -0
- data/lib/ibex/runtime/cst/rewriter.rb +75 -0
- data/lib/ibex/runtime/cst/serialize.rb +127 -0
- data/lib/ibex/runtime/cst/serialized_tree.rb +44 -0
- data/lib/ibex/runtime/cst/source_text.rb +112 -0
- data/lib/ibex/runtime/cst/syntax_node.rb +432 -0
- data/lib/ibex/runtime/cst/syntax_token.rb +160 -0
- data/lib/ibex/runtime/cst/text_edit.rb +77 -0
- data/lib/ibex/runtime/cst/typed_node.rb +87 -0
- data/lib/ibex/runtime/cst/validator.rb +428 -0
- data/lib/ibex/runtime/cst.rb +38 -0
- data/lib/ibex/runtime/event.rb +44 -0
- data/lib/ibex/runtime/event_jsonl_tracer.rb +37 -0
- data/lib/ibex/runtime/event_sanitizer.rb +273 -0
- data/lib/ibex/runtime/generated_lexer.rb +514 -0
- data/lib/ibex/runtime/jsonl_tracer.rb +75 -0
- data/lib/ibex/runtime/lexer_input.rb +107 -0
- data/lib/ibex/runtime/location_span.rb +114 -0
- data/lib/ibex/runtime/observation.rb +82 -0
- data/lib/ibex/runtime/parser.rb +3027 -0
- data/lib/ibex/runtime/parser_sync_recovery.rb +108 -0
- data/lib/ibex/runtime/repair.rb +126 -0
- data/lib/ibex/runtime/repair_priority_queue.rb +60 -0
- data/lib/ibex/runtime/repair_search.rb +318 -0
- data/lib/ibex/runtime/resource_limits.rb +64 -0
- data/lib/ibex/runtime/table_format.rb +11 -0
- data/lib/ibex/runtime/version.rb +7 -0
- data/lib/ibex/runtime.rb +27 -0
- data/lib/ibex/tables/compact.rb +186 -0
- data/lib/ibex/tables/compact_actions.rb +135 -0
- data/lib/ibex/tables/compact_productions.rb +167 -0
- data/sig/ibex/runtime/ast_data.rbs +12 -0
- data/sig/ibex/runtime/cst/annotation.rbs +13 -0
- data/sig/ibex/runtime/cst/cursor.rbs +34 -0
- data/sig/ibex/runtime/cst/diff.rbs +29 -0
- data/sig/ibex/runtime/cst/editing.rbs +23 -0
- data/sig/ibex/runtime/cst/editor.rbs +43 -0
- data/sig/ibex/runtime/cst/green/builder.rbs +84 -0
- data/sig/ibex/runtime/cst/green/cache.rbs +60 -0
- data/sig/ibex/runtime/cst/green/node.rbs +49 -0
- data/sig/ibex/runtime/cst/green/token.rbs +59 -0
- data/sig/ibex/runtime/cst/green/trivia.rbs +29 -0
- data/sig/ibex/runtime/cst/incremental/blender.rbs +114 -0
- data/sig/ibex/runtime/cst/incremental/lexed_syntax.rbs +20 -0
- data/sig/ibex/runtime/cst/incremental/parse_memo.rbs +59 -0
- data/sig/ibex/runtime/cst/incremental/relexer.rbs +54 -0
- data/sig/ibex/runtime/cst/incremental/session.rbs +89 -0
- data/sig/ibex/runtime/cst/incremental/token_memo.rbs +31 -0
- data/sig/ibex/runtime/cst/kind.rbs +93 -0
- data/sig/ibex/runtime/cst/parse_result.rbs +35 -0
- data/sig/ibex/runtime/cst/rewriter.rbs +31 -0
- data/sig/ibex/runtime/cst/serialize.rbs +39 -0
- data/sig/ibex/runtime/cst/serialized_tree.rbs +34 -0
- data/sig/ibex/runtime/cst/source_text.rbs +51 -0
- data/sig/ibex/runtime/cst/syntax_node.rbs +195 -0
- data/sig/ibex/runtime/cst/syntax_token.rbs +112 -0
- data/sig/ibex/runtime/cst/text_edit.rbs +33 -0
- data/sig/ibex/runtime/cst/typed_node.rbs +50 -0
- data/sig/ibex/runtime/cst/validator.rbs +108 -0
- data/sig/ibex/runtime/cst.rbs +9 -0
- data/sig/ibex/runtime/event.rbs +26 -0
- data/sig/ibex/runtime/event_jsonl_tracer.rbs +25 -0
- data/sig/ibex/runtime/event_sanitizer.rbs +92 -0
- data/sig/ibex/runtime/generated_lexer.rbs +169 -0
- data/sig/ibex/runtime/jsonl_tracer.rbs +42 -0
- data/sig/ibex/runtime/lexer_input.rbs +44 -0
- data/sig/ibex/runtime/location_span.rbs +64 -0
- data/sig/ibex/runtime/observation.rbs +35 -0
- data/sig/ibex/runtime/parser.rbs +926 -0
- data/sig/ibex/runtime/parser_sync_recovery.rbs +60 -0
- data/sig/ibex/runtime/repair.rbs +92 -0
- data/sig/ibex/runtime/repair_priority_queue.rbs +27 -0
- data/sig/ibex/runtime/repair_search.rbs +114 -0
- data/sig/ibex/runtime/resource_limits.rbs +39 -0
- data/sig/ibex/runtime/table_format.rbs +11 -0
- data/sig/ibex/runtime/version.rbs +7 -0
- data/sig/ibex/runtime.rbs +6 -0
- data/sig/ibex/tables/compact.rbs +70 -0
- data/sig/ibex/tables/compact_actions.rbs +57 -0
- data/sig/ibex/tables/compact_productions.rbs +68 -0
- metadata +144 -0
metadata
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ibex-runtime
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Yudai Takada
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Ibex Runtime executes generated LR parsers without installing the parser
|
|
13
|
+
generator.
|
|
14
|
+
email:
|
|
15
|
+
- t.yudai92@gmail.com
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- LICENSE.txt
|
|
21
|
+
- README.md
|
|
22
|
+
- lib/ibex/runtime.rb
|
|
23
|
+
- lib/ibex/runtime/ast_data.rb
|
|
24
|
+
- lib/ibex/runtime/cst.rb
|
|
25
|
+
- lib/ibex/runtime/cst/annotation.rb
|
|
26
|
+
- lib/ibex/runtime/cst/cursor.rb
|
|
27
|
+
- lib/ibex/runtime/cst/diff.rb
|
|
28
|
+
- lib/ibex/runtime/cst/editing.rb
|
|
29
|
+
- lib/ibex/runtime/cst/editor.rb
|
|
30
|
+
- lib/ibex/runtime/cst/green/builder.rb
|
|
31
|
+
- lib/ibex/runtime/cst/green/cache.rb
|
|
32
|
+
- lib/ibex/runtime/cst/green/node.rb
|
|
33
|
+
- lib/ibex/runtime/cst/green/token.rb
|
|
34
|
+
- lib/ibex/runtime/cst/green/trivia.rb
|
|
35
|
+
- lib/ibex/runtime/cst/incremental/blender.rb
|
|
36
|
+
- lib/ibex/runtime/cst/incremental/lexed_syntax.rb
|
|
37
|
+
- lib/ibex/runtime/cst/incremental/parse_memo.rb
|
|
38
|
+
- lib/ibex/runtime/cst/incremental/relexer.rb
|
|
39
|
+
- lib/ibex/runtime/cst/incremental/session.rb
|
|
40
|
+
- lib/ibex/runtime/cst/incremental/token_memo.rb
|
|
41
|
+
- lib/ibex/runtime/cst/kind.rb
|
|
42
|
+
- lib/ibex/runtime/cst/parse_result.rb
|
|
43
|
+
- lib/ibex/runtime/cst/rewriter.rb
|
|
44
|
+
- lib/ibex/runtime/cst/serialize.rb
|
|
45
|
+
- lib/ibex/runtime/cst/serialized_tree.rb
|
|
46
|
+
- lib/ibex/runtime/cst/source_text.rb
|
|
47
|
+
- lib/ibex/runtime/cst/syntax_node.rb
|
|
48
|
+
- lib/ibex/runtime/cst/syntax_token.rb
|
|
49
|
+
- lib/ibex/runtime/cst/text_edit.rb
|
|
50
|
+
- lib/ibex/runtime/cst/typed_node.rb
|
|
51
|
+
- lib/ibex/runtime/cst/validator.rb
|
|
52
|
+
- lib/ibex/runtime/event.rb
|
|
53
|
+
- lib/ibex/runtime/event_jsonl_tracer.rb
|
|
54
|
+
- lib/ibex/runtime/event_sanitizer.rb
|
|
55
|
+
- lib/ibex/runtime/generated_lexer.rb
|
|
56
|
+
- lib/ibex/runtime/jsonl_tracer.rb
|
|
57
|
+
- lib/ibex/runtime/lexer_input.rb
|
|
58
|
+
- lib/ibex/runtime/location_span.rb
|
|
59
|
+
- lib/ibex/runtime/observation.rb
|
|
60
|
+
- lib/ibex/runtime/parser.rb
|
|
61
|
+
- lib/ibex/runtime/parser_sync_recovery.rb
|
|
62
|
+
- lib/ibex/runtime/repair.rb
|
|
63
|
+
- lib/ibex/runtime/repair_priority_queue.rb
|
|
64
|
+
- lib/ibex/runtime/repair_search.rb
|
|
65
|
+
- lib/ibex/runtime/resource_limits.rb
|
|
66
|
+
- lib/ibex/runtime/table_format.rb
|
|
67
|
+
- lib/ibex/runtime/version.rb
|
|
68
|
+
- lib/ibex/tables/compact.rb
|
|
69
|
+
- lib/ibex/tables/compact_actions.rb
|
|
70
|
+
- lib/ibex/tables/compact_productions.rb
|
|
71
|
+
- sig/ibex/runtime.rbs
|
|
72
|
+
- sig/ibex/runtime/ast_data.rbs
|
|
73
|
+
- sig/ibex/runtime/cst.rbs
|
|
74
|
+
- sig/ibex/runtime/cst/annotation.rbs
|
|
75
|
+
- sig/ibex/runtime/cst/cursor.rbs
|
|
76
|
+
- sig/ibex/runtime/cst/diff.rbs
|
|
77
|
+
- sig/ibex/runtime/cst/editing.rbs
|
|
78
|
+
- sig/ibex/runtime/cst/editor.rbs
|
|
79
|
+
- sig/ibex/runtime/cst/green/builder.rbs
|
|
80
|
+
- sig/ibex/runtime/cst/green/cache.rbs
|
|
81
|
+
- sig/ibex/runtime/cst/green/node.rbs
|
|
82
|
+
- sig/ibex/runtime/cst/green/token.rbs
|
|
83
|
+
- sig/ibex/runtime/cst/green/trivia.rbs
|
|
84
|
+
- sig/ibex/runtime/cst/incremental/blender.rbs
|
|
85
|
+
- sig/ibex/runtime/cst/incremental/lexed_syntax.rbs
|
|
86
|
+
- sig/ibex/runtime/cst/incremental/parse_memo.rbs
|
|
87
|
+
- sig/ibex/runtime/cst/incremental/relexer.rbs
|
|
88
|
+
- sig/ibex/runtime/cst/incremental/session.rbs
|
|
89
|
+
- sig/ibex/runtime/cst/incremental/token_memo.rbs
|
|
90
|
+
- sig/ibex/runtime/cst/kind.rbs
|
|
91
|
+
- sig/ibex/runtime/cst/parse_result.rbs
|
|
92
|
+
- sig/ibex/runtime/cst/rewriter.rbs
|
|
93
|
+
- sig/ibex/runtime/cst/serialize.rbs
|
|
94
|
+
- sig/ibex/runtime/cst/serialized_tree.rbs
|
|
95
|
+
- sig/ibex/runtime/cst/source_text.rbs
|
|
96
|
+
- sig/ibex/runtime/cst/syntax_node.rbs
|
|
97
|
+
- sig/ibex/runtime/cst/syntax_token.rbs
|
|
98
|
+
- sig/ibex/runtime/cst/text_edit.rbs
|
|
99
|
+
- sig/ibex/runtime/cst/typed_node.rbs
|
|
100
|
+
- sig/ibex/runtime/cst/validator.rbs
|
|
101
|
+
- sig/ibex/runtime/event.rbs
|
|
102
|
+
- sig/ibex/runtime/event_jsonl_tracer.rbs
|
|
103
|
+
- sig/ibex/runtime/event_sanitizer.rbs
|
|
104
|
+
- sig/ibex/runtime/generated_lexer.rbs
|
|
105
|
+
- sig/ibex/runtime/jsonl_tracer.rbs
|
|
106
|
+
- sig/ibex/runtime/lexer_input.rbs
|
|
107
|
+
- sig/ibex/runtime/location_span.rbs
|
|
108
|
+
- sig/ibex/runtime/observation.rbs
|
|
109
|
+
- sig/ibex/runtime/parser.rbs
|
|
110
|
+
- sig/ibex/runtime/parser_sync_recovery.rbs
|
|
111
|
+
- sig/ibex/runtime/repair.rbs
|
|
112
|
+
- sig/ibex/runtime/repair_priority_queue.rbs
|
|
113
|
+
- sig/ibex/runtime/repair_search.rbs
|
|
114
|
+
- sig/ibex/runtime/resource_limits.rbs
|
|
115
|
+
- sig/ibex/runtime/table_format.rbs
|
|
116
|
+
- sig/ibex/runtime/version.rbs
|
|
117
|
+
- sig/ibex/tables/compact.rbs
|
|
118
|
+
- sig/ibex/tables/compact_actions.rbs
|
|
119
|
+
- sig/ibex/tables/compact_productions.rbs
|
|
120
|
+
homepage: https://github.com/ydah/ibex
|
|
121
|
+
licenses:
|
|
122
|
+
- MIT
|
|
123
|
+
metadata:
|
|
124
|
+
homepage_uri: https://github.com/ydah/ibex
|
|
125
|
+
source_code_uri: https://github.com/ydah/ibex/tree/main
|
|
126
|
+
rubygems_mfa_required: 'true'
|
|
127
|
+
rdoc_options: []
|
|
128
|
+
require_paths:
|
|
129
|
+
- lib
|
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
|
+
requirements:
|
|
132
|
+
- - ">="
|
|
133
|
+
- !ruby/object:Gem::Version
|
|
134
|
+
version: 3.0.0
|
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
|
+
requirements:
|
|
137
|
+
- - ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: '0'
|
|
140
|
+
requirements: []
|
|
141
|
+
rubygems_version: 4.0.6
|
|
142
|
+
specification_version: 4
|
|
143
|
+
summary: The Pure Ruby runtime for generated Ibex parsers
|
|
144
|
+
test_files: []
|