Replace Kym "System Bindings" with Hardcoded Builtins #32

Closed
opened 2023-08-12 20:41:30 +02:00 by kayomn · 0 comments
Owner

Kym currently supports native functions to be bound in global scope using the @ prefix, however these symbols are resolved dynamically to no real benefit.

The case for supporting symbols that are bound at startup to never change yet are dynamically resolved is shakey at best. Therefore, this proposal seeks to replace their existing usage with built-in behavior known to the compiler as well as the runtime.

These builtins would act much like keywords in providing language intrinsic behavior, but would take on the same function calling syntax that callable system bindings currently support.

Kym currently supports native functions to be bound in global scope using the @ prefix, however these symbols are resolved dynamically to no real benefit. The case for supporting symbols that are bound at startup to never change yet are dynamically resolved is shakey at best. Therefore, this proposal seeks to replace their existing usage with built-in behavior known to the compiler as well as the runtime. These builtins would act much like keywords in providing language intrinsic behavior, but would take on the same function calling syntax that callable system bindings currently support.
kayomn added this to the (deleted) milestone 2023-08-12 20:41:30 +02:00
kayomn self-assigned this 2023-08-12 20:41:31 +02: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: kayomn/ona#32
No description provided.