Skip to content

Commit

Permalink
Update NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Mar 24, 2024
1 parent c9f7876 commit 9ed506b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# NEWS for Lrama

## Lrama 0.6.5 (2024-03-xx)

### Typed Midrule Actions

User can specify the type of mid rule action by tag (`<bar>`) instead of specifing it with in an action.

```
primary: k_case expr_value terms?
{
$<val>$ = p->case_labels;
p->case_labels = Qnil;
}
case_body
k_end
{
...
}
```

can be written as

```
primary: k_case expr_value terms?
{
$$ = p->case_labels;
p->case_labels = Qnil;
}<val>
case_body
k_end
{
...
}
```

Difference from Bison's Typed Midrule Actions is that tag is postposed in Lrama however it's preposed in Bison.

Bison supports this feature from 3.1.

## Lrama 0.6.4 (2024-03-22)

### Parameterizing rules (preceded, terminated, delimited)
Expand Down

0 comments on commit 9ed506b

Please sign in to comment.