|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
Go to the source code of this file.
Functions | |
| void | srn_value_print (FILE *out, srn_context_t *ctx, const srn_value_t *v) |
Print a value to out in its S-expression form. | |
| void | srn_value_println (FILE *out, srn_context_t *ctx, const srn_value_t *v) |
| Same as srn_value_print followed by ' '. | |
| void | srn_syntax_print (FILE *out, srn_context_t *ctx, const srn_syntax_t *s) |
Print a syntax node to out in its S-expression form. | |
| void | srn_syntax_println (FILE *out, srn_context_t *ctx, const srn_syntax_t *s) |
| Same as srn_syntax_print followed by ' '. | |
| void srn_syntax_print | ( | FILE * | out, |
| srn_context_t * | ctx, | ||
| const srn_syntax_t * | s ) |
Print a syntax node to out in its S-expression form.
Numbers are emitted from their stored raw text (no formatting normalization). Maps print as {k v k v} because the syntax-level container is a flat seq.
Definition at line 241 of file print.c.
| void srn_syntax_println | ( | FILE * | out, |
| srn_context_t * | ctx, | ||
| const srn_syntax_t * | s ) |
| void srn_value_print | ( | FILE * | out, |
| srn_context_t * | ctx, | ||
| const srn_value_t * | v ) |
Print a value to out in its S-expression form.
Atoms round-trip with the reader; compounds without a public iterator (VMap) print as opaque placeholders for now.
Definition at line 97 of file print.c.
| void srn_value_println | ( | FILE * | out, |
| srn_context_t * | ctx, | ||
| const srn_value_t * | v ) |
Same as srn_value_print followed by '
'.
Definition at line 186 of file print.c.