Skip to content

Commit

Permalink
Merge pull request #347 from yui-knk/update_news
Browse files Browse the repository at this point in the history
Update news
  • Loading branch information
yui-knk authored Jan 13, 2024
2 parents f0a1321 + 963fec3 commit ba9d627
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# NEWS for Lrama

## Lrama 0.6.1 (2024-xx-xx)

### Nested parameterizing rules

Allow to pass an instantiated rule to other parameterizing rules.

```
%rule constant(X) : X
;
%rule option(Y) : /* empty */
| Y
;
%%
program : option(constant(number)) // Nested rule
;
%%
```

Allow to use nested parameterizing rules when define parameterizing rules.

```
%rule option(x) : /* empty */
| X
;
%rule double(Y) : Y Y
;
%rule double_opt(A) : option(double(A)) // Nested rule
;
%%
program : double_opt(number)
;
%%
```

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

## Lrama 0.6.0 (2023-12-25)

### User defined parameterizing rules
Expand All @@ -20,6 +64,8 @@ stmt: pair(ODD, EVEN) <num>
;
```

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

## Lrama 0.5.11 (2023-12-02)

### Type specification of parameterizing rules
Expand Down

0 comments on commit ba9d627

Please sign in to comment.