The most unhelpful interpreter in the known universe #21

Closed
opened 2022-05-25 03:28:02 +02:00 by robben · 3 comments
robben commented 2022-05-25 03:28:02 +02:00 (Migrated from engi.evolpe.it)
$ bin/musique -c '[f|f]'
musique: implementation bug: remaining tokens after parsing. Listing remaining tokens:
<arguments>:1:3: notice: {PARAMETER SEPARATOR, "|", <arguments>:1:3}
<arguments>:1:4: notice: {CHORD, "f", <arguments>:1:4}
<arguments>:1:5: notice: {CLOSE BLOCK, "]", <arguments>:1:5}

And instead should say:

<arguments>:1:2: error: used 'f' as and identifier, but it's a music literal so cannot be placed in there you silly goose
```console $ bin/musique -c '[f|f]' musique: implementation bug: remaining tokens after parsing. Listing remaining tokens: <arguments>:1:3: notice: {PARAMETER SEPARATOR, "|", <arguments>:1:3} <arguments>:1:4: notice: {CHORD, "f", <arguments>:1:4} <arguments>:1:5: notice: {CLOSE BLOCK, "]", <arguments>:1:5} ``` And instead should say: ``` <arguments>:1:2: error: used 'f' as and identifier, but it's a music literal so cannot be placed in there you silly goose ```
robben commented 2022-05-25 03:28:03 +02:00 (Migrated from engi.evolpe.it)

assigned to @robben

assigned to @robben
robben commented 2022-06-02 14:31:20 +02:00 (Migrated from engi.evolpe.it)

Also

musique$ bin/musique -c 'var f = 10'
IMPLEMENTATION BUG Remaining tokens
----------------------------------------------
remaining tokens after parsing. Listing remaining tokens:
{CHORD, "f", <arguments>:1:5}
{OPERATOR, "=", <arguments>:1:7}
{NUMERIC, "10", <arguments>:1:9}
Also ``` musique$ bin/musique -c 'var f = 10' IMPLEMENTATION BUG Remaining tokens ---------------------------------------------- remaining tokens after parsing. Listing remaining tokens: {CHORD, "f", <arguments>:1:5} {OPERATOR, "=", <arguments>:1:7} {NUMERIC, "10", <arguments>:1:9} ```
robben commented 2022-06-02 21:40:56 +02:00 (Migrated from engi.evolpe.it)

Solved in 1e1d9b0cb6

Solved in 1e1d9b0cb6207595abb4216082edd4ea56040a43
Sign in to join this conversation.
No Label
bug
enhancement
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: s416496/musique#21
No description provided.