A bit of work on time, but it doesn't actually work yet.

This commit is contained in:
Simon Brooke 2019-02-05 09:59:05 +00:00
parent 8cab28f6c8
commit 23e4f0befa
8 changed files with 155 additions and 17 deletions

View file

@ -30,6 +30,7 @@
#include "peano.h"
#include "print.h"
#include "repl.h"
#include "time.h"
// extern char *optarg; /* defined in unistd.h */
@ -212,6 +213,7 @@ int main( int argc, char *argv[] ) {
bind_function( L"source", &lisp_source );
bind_function( L"subtract", &lisp_subtract );
bind_function( L"throw", &lisp_exception );
bind_function( L"time", &lisp_time );
bind_function( L"type", &lisp_type );
bind_function( L"+", &lisp_add );
bind_function( L"*", &lisp_multiply );