only allow defReaderMacro at top-level #1

Open
opened 2025-09-09 15:37:43 +00:00 by NQN · 0 comments
Owner

If you throw a defReaderMacro inside a block and expect it to work within the block, it won't, because the block has been read already. So just throw an error if defReaderMacro isn't at the top level.

If you throw a defReaderMacro inside a block and expect it to work within the block, it won't, because the block has been read already. So just throw an error if defReaderMacro isn't at the top level.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kiss-lang/kiss#1
No description provided.