Added first cut of reader and writer, but nothing working at this stage.

This commit is contained in:
Simon Brooke 2017-01-06 22:49:04 +00:00
parent 0e693d4360
commit 5920b0d04f
12 changed files with 413 additions and 36 deletions

View file

@ -14,11 +14,21 @@
#include "version.h"
#include "conspage.h"
#include "consspaceobject.h"
#include "print.h"
#include "read.h"
int main (int argc, char *argv[]) {
printf( "Post scarcity software environment version %s\n", VERSION);
conspagesinit();
printf( "Ready\n>>");
struct cons_pointer input = read( stdin);
incref( input);
printf( "\n");
print( stdout, input);
dumppages(stdout);
// printf( "Tag2uint(\"FREE\") = %d\n", tag2uint("FREE"));
return(0);