NEWS.md in lrama-0.6.0 vs NEWS.md in lrama-0.6.1
- old
+ new
@@ -1,7 +1,51 @@
# NEWS for Lrama
+## Lrama 0.6.1 (2024-01-13)
+
+### 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
Allow to define parameterizing rule by `%rule` directive.
@@ -17,9 +61,11 @@
stmt: pair(ODD, EVEN) <num>
| pair(EVEN, ODD) <num>
;
```
+
+https://github.com/ruby/lrama/pull/285
## Lrama 0.5.11 (2023-12-02)
### Type specification of parameterizing rules