Reads, stores and prints numbers correctly. Reads and stores lists and

strings, but they don't print correctly.
This commit is contained in:
Simon Brooke 2017-01-07 02:17:54 +00:00
parent 5920b0d04f
commit 85cc542d74
9 changed files with 226 additions and 125 deletions

View file

@ -19,16 +19,16 @@
int main (int argc, char *argv[]) {
printf( "Post scarcity software environment version %s\n", VERSION);
conspagesinit();
initialise_cons_pages();
printf( "Ready\n>>");
printf( "Ready\n>> ");
struct cons_pointer input = read( stdin);
incref( input);
printf( "\n");
inc_ref( input);
printf( "\n:: ");
print( stdout, input);
dumppages(stdout);
dump_pages(stdout);
// printf( "Tag2uint(\"FREE\") = %d\n", tag2uint("FREE"));
return(0);