Printing of bignums basically done, not tested.

This commit is contained in:
Simon Brooke 2018-12-29 23:44:28 +00:00
parent 342f0308d3
commit 489f008044
14 changed files with 244 additions and 164 deletions

View file

@ -113,16 +113,16 @@ repl( FILE * in_stream, FILE * out_stream, FILE * error_stream,
break;
} else {
struct cons_pointer val = repl_eval( input );
inc_ref(val);
inc_ref( val );
repl_print( output_stream, val );
dec_ref(val);
dec_ref( val );
}
dec_ref( input );
}
dec_ref(input_stream);
dec_ref(output_stream);
dec_ref( input_stream );
dec_ref( output_stream );
debug_print( L"Leaving repl\n", DEBUG_REPL );
}