Skip to content

Invalid syntax accepted #17

@kiedtl

Description

@kiedtl

If the first element in a list is a list, that list is recursively parsed while the rest of the elements in the original list is ignored.

(((word main [])) tsdflsdf)

Not sure why this behaviour was there in the first place (in what cases would a list as the first element in a list be valid?)

Fix should be to simply only allow a keyword as first element in list. I'll have to test that nothing else depends on allowing a list to be first element however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions