Skip to content

Commit

Permalink
Merge pull request #294 from yui-knk/add_user_defined_parameterizing_…
Browse files Browse the repository at this point in the history
…rules_to_news

Add "User defined parameterizing rules" to NEWS.md
  • Loading branch information
yui-knk authored Dec 14, 2023
2 parents 8be0402 + 44bd2ef commit 6655bcb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# NEWS for Lrama

## Lrama 0.6.0 (202X-XX-XX)

### User defined parameterizing rules

Allow to define parameterizing rule by `%rule` directive.

```
%rule pair(X, Y): X Y { $$ = $1 + $2; }
;
%%
program: stmt
;
stmt: pair(ODD, EVEN) <num>
| pair(EVEN, ODD) <num>
;
```

## Lrama 0.5.11 (2023-12-02)

### Type specification of parameterizing rules
Expand Down

0 comments on commit 6655bcb

Please sign in to comment.