Skip to content

tiny.spec does not match the syntax (define without signature) #1

@Trolldemorted

Description

@Trolldemorted

I have written a parser for L3, but it fails to parse the tiny spec because it has this define:

define ReservedInstr = #Reserved

The manual (B, "Definitions") states:

<definition> ::= 'define' <define>
               | 'component' <component>
               | <function>
<define> ::= <ast> <define-sig> '=' <block>

where <define-sig> is not optional, so my parser is correct when it says that the tiny spec is invalid.

Is this a bug in the tiny spec or in the language specification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions