Added first cut of reader and writer, but nothing working at this stage.
This commit is contained in:
parent
0e693d4360
commit
5920b0d04f
12 changed files with 413 additions and 36 deletions
10
src/init.c
10
src/init.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue