Unified · Split
| @@ -53,7 +53,7 @@ symbol. Symbols are interned. · 52 unmodified lines | |||
| 53 | Numbers store a `Number` in the `cdr` part of the `object`. By default | 53 | Numbers store a `Number` in the `cdr` part of the `object`. By default |
| 54 | `Number` is a `float`, but any value can be used so long as it is equal | 54 | `Number` is a `float`, but any value can be used so long as it is equal |
| 55 | or smaller in size than an `object` pointer. If a different type of | 55 | or smaller in size than an `object` pointer. If a different type of |
| 56 | value is used, `lsp_read()` and `lsp_write()` must also be updated to | 56 | value is used, `fe_read()` and `fe_write()` must also be updated to |
| 57 | handle the new type correctly. | 57 | handle the new type correctly. |
| 58 | 58 | ||
| 59 | ##### Prim | 59 | ##### Prim |
| @@ -65,7 +65,7 @@ CFuncs store a `CFunc` pointer in the `cdr` part of the `object`. · 5 unmodified lines | |||
| 65 | ##### Ptr | 65 | ##### Ptr |
| 66 | Ptrs store a `void` pointer in the `cdr` part of the `object`. The handler | 66 | Ptrs store a `void` pointer in the `cdr` part of the `object`. The handler |
| 67 | functions `gc` and `mark` are called whenever a `ptr` is collected or marked by | 67 | functions `gc` and `mark` are called whenever a `ptr` is collected or marked by |
| 68 | the garbage collector — the set `lsp_CFunc` is passed the object itself in place | 68 | the garbage collector — the set `fe_CFunc` is passed the object itself in place |
| 69 | of an arguments list. | 69 | of an arguments list. |
| 70 | 70 | ||
| 71 | 71 | ||
| @@ -128,7 +128,7 @@ stack. · 56 unmodified lines | |||
| 128 | 128 | ||
| 129 | 129 | ||
| 130 | ## Error Handling | 130 | ## Error Handling |
| 131 | If an error occurs the `lsp_error()` function is called — this function resets | 131 | If an error occurs the `fe_error()` function is called — this function resets |
| 132 | the `context` to a safe state and calls the `error` handler if one is set. The | 132 | the `context` to a safe state and calls the `error` handler if one is set. The |
| 133 | error handler function is passed the error message and list representing the | 133 | error handler function is passed the error message and list representing the |
| 134 | call stack (*both these values are valid only for this function*). The error | 134 | call stack (*both these values are valid only for this function*). The error |