From ea81a8087bcd7953b083a2be9db447f75e7ebf56 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 2 Apr 2014 22:23:37 -0500 Subject: All: split types into types, env, printer, core. - types: low-level mapping to the implementation language. - core: functions on types that are exposed directly to mal. - printer: implementation called by pr-str, str, prn, println. - env: the environment implementation - Also, unindent all TCO while loops so that the diff of step4 and step5 are minimized. --- c/printer.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 c/printer.h (limited to 'c/printer.h') diff --git a/c/printer.h b/c/printer.h new file mode 100644 index 0000000..b3f389a --- /dev/null +++ b/c/printer.h @@ -0,0 +1,9 @@ +#ifndef __MAL_PRINTER__ +#define __MAL_PRINTER__ + +#include "types.h" + +char *_pr_str_args(MalVal *args, char *sep, int print_readably); +char *_pr_str(MalVal *obj, int print_readably); + +#endif -- cgit v1.2.3