| 1 | module scheme |
| 2 | |
| 3 | // These descriptors contain only immutable process-lifetime names and codes. |
| 4 | // Installers still allocate a distinct Procedure and binding for each VM. |
| 5 | struct PrimitiveDescriptor { |
| 6 | name string |
| 7 | primitive Primitive |
| 8 | } |
| 9 | |
| 10 | struct NativeDescriptor { |
| 11 | name string |
| 12 | callback NativeFn @[required] |
| 13 | } |
| 14 |