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

@ -22,6 +22,7 @@
#include "integer.h"
#include "stack.h"
#include "print.h"
#include "time.h"
/**
* Whether or not we colorise output.
@ -210,6 +211,9 @@ struct cons_pointer print( URL_FILE * output, struct cons_pointer pointer ) {
case SPECIALTV:
url_fwprintf( output, L"<Special form>" );
break;
case TIMETV:
print_string(output, time_to_string( pointer));
break;
case TRUETV:
url_fwprintf( output, L"t" );
break;