hiding rule name cancels splice #8

Closed
opened 7 years ago by mbutterick · 0 comments
mbutterick commented 7 years ago (Migrated from github.com)
#lang brag

top : rule
/rule : Ø | "x" [@rule]
(parse-to-datum "xxx")

Produces

'(top ("x" ("x" ("x"))))

instead of

'(top ("x" "x" "x"))

It seems that once the rule name disappears, the splice instruction is somehow lost.

``` #lang brag top : rule /rule : Ø | "x" [@rule] ``` ``` (parse-to-datum "xxx") ``` Produces ``` '(top ("x" ("x" ("x")))) ``` instead of ``` '(top ("x" "x" "x")) ``` It seems that once the rule name disappears, the splice instruction is somehow lost.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/brag#8
Loading…
There is no content yet.