All unit tests passing! This is slightly a fix because there is a bug with
the character read after reading a number not being correctly pushed back onto the input stream, but...
This commit is contained in:
parent
6eab3a531a
commit
2d9f4b0439
10 changed files with 85 additions and 34 deletions
|
|
@ -18,16 +18,15 @@
|
|||
#include "read.h"
|
||||
|
||||
int main (int argc, char *argv[]) {
|
||||
// printf( "Post scarcity software environment version %s\n", VERSION);
|
||||
fprintf( stderr, "Post scarcity software environment version %s\n", VERSION);
|
||||
initialise_cons_pages();
|
||||
|
||||
fprintf( stderr, "\n:: ");
|
||||
struct cons_pointer input = read( stdin);
|
||||
//inc_ref( input);
|
||||
//printf( "\n:: ");
|
||||
fprintf( stderr, "\n{%d,%d}=> ", input.page, input.offset);
|
||||
print( stdout, input);
|
||||
|
||||
// dump_pages(stdout);
|
||||
// printf( "Tag2uint(\"FREE\") = %d\n", tag2uint("FREE"));
|
||||
dump_pages(stderr);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue