Skip to content

Add support for adjusting Index to Inline - #394

Merged
yui-knk merged 11 commits into
ruby:masterfrom
ydah:inline-index
May 17, 2024
Merged

Add support for adjusting Index to Inline#394
yui-knk merged 11 commits into
ruby:masterfrom
ydah:inline-index

Conversation

@ydah

@ydah ydah commented Apr 9, 2024

Copy link
Copy Markdown
Member

No description provided.

@yui-knk

yui-knk commented Apr 13, 2024

Copy link
Copy Markdown
Collaborator

[note]
Some methods on RuleBuilder require parameterizing_rule_resolver for its argumen, e.g. #setup_rules, #has_inline_rules? and #resolve_inline_rules. It might be better to pass parameterizing_rule_resolver for RuleBuilder#initialize by adding helper function to Grammar which calls Grammar::RuleBuilder.new with @parameterizing_rule_resolver
It's not directly related to this PR, so I don't require to change it in this PR.

Comment thread lib/lrama/grammar/rule_builder.rb Outdated
@yui-knk

yui-knk commented Apr 13, 2024

Copy link
Copy Markdown
Collaborator

@ydah The direction seems good. Could you check the logic of reference overwrite, #394 (comment) ?

@ydah
ydah requested a review from yui-knk April 15, 2024 14:28
@ydah

ydah commented Apr 15, 2024

Copy link
Copy Markdown
Member Author

@yui-knk Thank you for your review! I updated this PR.

@ydah

ydah commented Apr 17, 2024

Copy link
Copy Markdown
Member Author

[note] Some methods on RuleBuilder require parameterizing_rule_resolver for its argumen, e.g. #setup_rules, #has_inline_rules? and #resolve_inline_rules. It might be better to pass parameterizing_rule_resolver for RuleBuilder#initialize by adding helper function to Grammar which calls Grammar::RuleBuilder.new with @parameterizing_rule_resolver It's not directly related to this PR, so I don't require to change it in this PR.

@yui-knk Add refactoring commit: 514e61c

@ydah

ydah commented May 17, 2024

Copy link
Copy Markdown
Member Author

@yui-knk I rebased and fix conflict.

@yui-knk
yui-knk merged commit 48c4434 into ruby:master May 17, 2024
@yui-knk

yui-knk commented May 17, 2024

Copy link
Copy Markdown
Collaborator

LGTM!

@ydah
ydah deleted the inline-index branch May 17, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants