Release 0.0.6!
This commit is contained in:
parent
788cb48b37
commit
e5e0de957c
3 changed files with 5 additions and 3 deletions
|
|
@ -172,7 +172,7 @@ The following functions are provided as of release 0.0.6:
|
|||
| subtract | FUNC | `(- a b)`: Subtracts `b` from `a` and returns the result. Expects both arguments to be numbers. |
|
||||
| throw | FUNC | `(throw message cause)`: Throw an exception with this `message`, and, if specified, this `cause` (which is expected to be an exception but need not be).|
|
||||
| time | FUNC | `(time arg)`: Return a time object. If an `arg` is supplied, it should be an integer which will be interpreted as a number of microseconds since the big bang, which is assumed to have happened 441,806,400,000,000,000 seconds before the UNIX epoch. |
|
||||
| try | SPFM | `(try forms... (catch symbol forms...))`: Doesn't work yet! |
|
||||
| try | SPFM | `(try forms... (catch catch-forms...))`: Evaluate `forms` sequentially, and return the value of the last. If an exception is thrown in any, evaluate `catch-forms` sequentially in an environment in which `*exception*` is bound to that exception, and return the value of the last of these. |
|
||||
| type | FUNC | `(type object)`: returns the type of the specified `object`. Currently (0.0.6) the type is returned as a four character string; this may change. |
|
||||
| λ | SPFM | `(lamda arg-list forms...)`: Construct an interpretable λ function. |
|
||||
|
||||
|
|
|
|||
|
|
@ -537,7 +537,9 @@ int main( int argc, char *argv[] ) {
|
|||
bind_special( L"set!",
|
||||
L"`(set! symbol value namespace)`: Binds `symbol` in `namespace` to the value of `value`, altering the namespace in so doing, and returns `value`. If `namespace` is not specified, it defaults to the default namespace.",
|
||||
&lisp_set_shriek );
|
||||
bind_special( L"try", L"", &lisp_try );
|
||||
bind_special( L"try",
|
||||
L"`(try forms... (catch catch-forms...))`: Evaluate `forms` sequentially, and return the value of the last. If an exception is thrown in any, evaluate `catch-forms` sequentially in an environment in which `*exception*` is bound to that exception, and return the value of the last of these.",
|
||||
&lisp_try );
|
||||
debug_print( L"Initialised oblist\n", DEBUG_BOOTSTRAP );
|
||||
debug_dump_object( oblist, DEBUG_BOOTSTRAP );
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@
|
|||
* Licensed under GPL version 2.0, or, at your option, any later version.
|
||||
*/
|
||||
|
||||
#define VERSION "0.0.6-SNAPSHOT"
|
||||
#define VERSION "0.0.6"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue