panic! must be a form, not a function #7

Closed
opened 2023-12-14 01:30:17 +00:00 by kredati · 2 comments
kredati commented 2023-12-14 01:30:17 +00:00 (Migrated from github.com)

To get better information, panic! should be a language-level form, not a plain-old function. This will allow it to capture the line information for where a panic is explicitly initiated.

To get better information, `panic!` should be a language-level form, not a plain-old function. This will allow it to capture the line information for where a panic is explicitly initiated.
kredati commented 2023-12-15 02:18:15 +00:00 (Migrated from github.com)
  • panic! is scanned as a keyword
  • panic! gets parsed as panic! {non-binding}
  • panic! is wired up to the interpreter along with a line number
- [x] `panic!` is scanned as a keyword - [x] `panic!` gets parsed as `panic! {non-binding}` - [x] `panic!` is wired up to the interpreter along with a line number
scott self-assigned this 2023-12-15 21:25:22 +00:00

Resolved by #15

Resolved by #15
scott closed this issue 2023-12-18 05:27:24 +00:00
scott reopened this issue 2023-12-18 05:27:39 +00:00
scott removed the
now
label 2023-12-18 05:27:52 +00:00
scott closed this issue 2023-12-18 05:27:58 +00:00
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: twc/ludus#7
No description provided.