Skip to content

Commit

Permalink
Revert the function name to remain “Parameterizing”
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Feb 16, 2025
1 parent c4f1dab commit fb02d43
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ nterm.y:6:7: symbol EOI redeclared as a nonterminal

## Lrama 0.6.10 (2024-09-11)

### Aliased Named References for actions of RHS in parameterized rules
### Aliased Named References for actions of RHS in Parameterizing rules

Allow to use aliased named references for actions of RHS in parameterized rules.
Allow to use aliased named references for actions of RHS in Parameterizing rules.

```yacc
%rule sum(X, Y): X[summand] '+' Y[addend] { $$ = $summand + $addend }
Expand All @@ -136,9 +136,9 @@ Allow to use aliased named references for actions of RHS in parameterized rules.
https://github.com/ruby/lrama/pull/410


### Named References for actions of RHS in parameterized rules caller side
### Named References for actions of RHS in Parameterizing rules caller side

Allow to use named references for actions of RHS in parameterized rules caller side.
Allow to use named references for actions of RHS in Parameterizing rules caller side.

```yacc
opt_nl: '\n'?[nl] <str> { $$ = $nl; }
Expand All @@ -147,9 +147,9 @@ opt_nl: '\n'?[nl] <str> { $$ = $nl; }

https://github.com/ruby/lrama/pull/414

### Widen the definable position of parameterized rules
### Widen the definable position of Parameterizing rules

Allow to define parameterized rules in the middle of the grammar.
Allow to define Parameterizing rules in the middle of the grammar.

```yacc
%rule defined_option(X): /* empty */
Expand Down Expand Up @@ -235,9 +235,9 @@ https://github.com/ruby/lrama/pull/457

## Lrama 0.6.9 (2024-05-02)

### Callee side tag specification of parameterized rules
### Callee side tag specification of Parameterizing rules

Allow to specify tag on callee side of parameterized rules.
Allow to specify tag on callee side of Parameterizing rules.

```yacc
%union {
Expand All @@ -248,9 +248,9 @@ Allow to specify tag on callee side of parameterized rules.
;
```

### Named References for actions of RHS in parameterized rules
### Named References for actions of RHS in Parameterizing rules

Allow to use named references for actions of RHS in parameterized rules.
Allow to use named references for actions of RHS in Parameterizing rules.

```yacc
%rule option(number): /* empty */
Expand All @@ -260,9 +260,9 @@ Allow to use named references for actions of RHS in parameterized rules.

## Lrama 0.6.8 (2024-04-29)

### Nested parameterized rules with tag
### Nested Parameterizing rules with tag

Allow to nested parameterized rules with tag.
Allow to nested Parameterizing rules with tag.

```yacc
%union {
Expand All @@ -284,9 +284,9 @@ Allow to nested parameterized rules with tag.

## Lrama 0.6.7 (2024-04-28)

### RHS of user defined parameterized rules contains `'symbol'?`, `'symbol'+` and `'symbol'*`.
### RHS of user defined Parameterizing rules contains `'symbol'?`, `'symbol'+` and `'symbol'*`.

User can use `'symbol'?`, `'symbol'+` and `'symbol'*` in RHS of user defined parameterized rules.
User can use `'symbol'?`, `'symbol'+` and `'symbol'*` in RHS of user defined Parameterizing rules.

```
%rule with_word_seps(X): /* empty */
Expand Down Expand Up @@ -384,7 +384,7 @@ Bison supports this feature from 3.1.

## Lrama 0.6.4 (2024-03-22)

### Parameterized rules (preceded, terminated, delimited)
### Parameterizing rules (preceded, terminated, delimited)

Support `preceded`, `terminated` and `delimited` rules.

Expand Down Expand Up @@ -493,9 +493,9 @@ https://github.com/ruby/lrama/pull/344

## Lrama 0.6.1 (2024-01-13)

### Nested parameterized rules
### Nested Parameterizing rules

Allow to pass an instantiated rule to other parameterized rules.
Allow to pass an instantiated rule to other Parameterizing rules.

```yacc
%rule constant(X) : X
Expand All @@ -512,7 +512,7 @@ program : option(constant(number)) // Nested rule
%%
```

Allow to use nested parameterized rules when define parameterized rules.
Allow to use nested Parameterizing rules when define Parameterizing rules.

```yacc
%rule option(x) : /* empty */
Expand All @@ -537,9 +537,9 @@ https://github.com/ruby/lrama/pull/337

## Lrama 0.6.0 (2023-12-25)

### User defined parameterized rules
### User defined Parameterizing rules

Allow to define parameterized rule by `%rule` directive.
Allow to define Parameterizing rule by `%rule` directive.

```yacc
%rule pair(X, Y): X Y { $$ = $1 + $2; }
Expand All @@ -559,7 +559,7 @@ https://github.com/ruby/lrama/pull/285

## Lrama 0.5.11 (2023-12-02)

### Type specification of parameterized rules
### Type specification of Parameterizing rules

Allow to specify type of rules by specifying tag, `<i>` in below example.
Tag is post-modification style.
Expand All @@ -581,15 +581,15 @@ https://github.com/ruby/lrama/pull/272

## Lrama 0.5.10 (2023-11-18)

### Parameterized rules (option, nonempty_list, list)
### Parameterizing rules (option, nonempty_list, list)

Support function call style parameterized rules for `option`, `nonempty_list` and `list`.
Support function call style Parameterizing rules for `option`, `nonempty_list` and `list`.

https://github.com/ruby/lrama/pull/197

### Parameterized rules (separated_list)
### Parameterizing rules (separated_list)

Support `separated_list` and `separated_nonempty_list` parameterized rules.
Support `separated_list` and `separated_nonempty_list` Parameterizing rules.

```text
program: separated_list(',', number)
Expand Down Expand Up @@ -617,9 +617,9 @@ https://github.com/ruby/lrama/pull/204

## Lrama 0.5.9 (2023-11-05)

### Parameterized rules (suffix)
### Parameterizing rules (suffix)

Parameterized rules are template of rules.
Parameterizing rules are template of rules.
It's very common pattern to write "list" grammar rule like:

```yacc
Expand All @@ -637,7 +637,7 @@ Lrama supports these suffixes:
* `+`: nonempty list
* `*`: list

Idea of Parameterized rules comes from Menhir LR(1) parser generator (https://gallium.inria.fr/~fpottier/menhir/manual.html#sec32).
Idea of Parameterizing rules comes from Menhir LR(1) parser generator (https://gallium.inria.fr/~fpottier/menhir/manual.html#sec32).

https://github.com/ruby/lrama/pull/181

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Lrama is LALR (1) parser generator written by Ruby. The first goal of this proje
* b4_lac_if is always false
* Error Tolerance parser
* Subset of [Repairing Syntax Errors in LR Parsers (Corchuelo et al.)](https://idus.us.es/bitstream/handle/11441/65631/Repairing%20syntax%20errors.pdf) algorithm is supported
* Parameterized rules
* Parameterizing rules
* The definition of a non-terminal symbol can be parameterized with other (terminal or non-terminal) symbols.
* Providing a generic definition of parameterized rules as a [standard library](lib/lrama/grammar/stdlib.y).
* Inlining
Expand Down

0 comments on commit fb02d43

Please # to comment.