Very close to a basic REPL now.
This commit is contained in:
parent
83537391a6
commit
4efe9eab87
23 changed files with 188 additions and 84 deletions
|
|
@ -109,7 +109,7 @@ struct pso_pointer in_print( struct pso_pointer p, URL_FILE *output ) {
|
|||
* @param stream if a pointer to an open write stream, print to there.
|
||||
* @return struct pso_pointer `nil`, or an exception if some erroe occurred.
|
||||
*/
|
||||
struct pso_pointer print( struct pso_pointer p, struct pso_pointer stream ) {
|
||||
struct pso_pointer c_print( struct pso_pointer p, struct pso_pointer stream ) {
|
||||
URL_FILE *output = writep( stream ) ?
|
||||
pointer_to_object( stream )->payload.stream.stream :
|
||||
file_to_url_file( stdout );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue