muse_builtin_io.c File Reference

#include "muse_builtins.h"
#include "muse_port.h"
#include <stdlib.h>

Include dependency graph for muse_builtin_io.c:


Functions

muse_cell fn_port_p (muse_env *env, void *context, muse_cell args)
 (port? p).
static muse_cell fn_output (muse_env *env, muse_cell args, void(*writer)(muse_port_t p, muse_cell arg))
 Uses the given writer to write a single argument.
muse_cell fn_print (muse_env *env, void *context, muse_cell args)
 (print -expressions-).
muse_cell fn_write (muse_env *env, void *context, muse_cell args)
 (write -expressions-).
muse_cell fn_read (muse_env *env, void *context, muse_cell args)
 (read [port])
muse_cell fn_close (muse_env *env, void *context, muse_cell args)
 (close port).
muse_cell fn_eof_p (muse_env *env, void *context, muse_cell args)
 (eof? port).
muse_cell fn_flush (muse_env *env, void *context, muse_cell args)
 (flush [port]).
muse_cell fn_load (muse_env *env, void *context, muse_cell args)
 (load "file.lisp")

Detailed Description

Author:
Srikumar K. S. (mailto:kumar@muvee.com)
Copyright (c) 2006 Jointly owned by Srikumar K. S. and muvee Technologies Pte. Ltd.

All rights reserved. See LICENSE.txt distributed with this source code or http://muvee-symbolic-expressions.googlecode.com/svn/trunk/LICENSE.txt for terms and conditions under which this software is provided to you.


Function Documentation

static muse_cell fn_output ( muse_env env,
muse_cell  args,
void(*)(muse_port_t p, muse_cell arg)  writer 
) [static]

Uses the given writer to write a single argument.

This function's sole purpose is to implement print and write.


Generated on Mon Sep 25 23:12:47 2006 for muSE by  doxygen 1.4.7