Commit Graph

8 Commits

Author SHA1 Message Date
Jeff Bezanson 2d5cb51afb fix part of #53, assertion failure in print_traverse 2019-06-06 19:34:00 -04:00
Jeff Bezanson bc646bd7a1 don't print-circle in `princ` mode 2017-08-19 14:19:56 -04:00
Jeff Bezanson b2d6548715 fix bug in printing the character #\x0 2017-08-19 14:18:32 -04:00
Jeff Bezanson 016b839ff4 some printing improvements
- don't print shared references to cprims, and estimate their
  size better. previously you could get output like this:

```
(#0=#\a
 #0#)
```

Now it looks like:

```
(#\a #\a)
```

- print `#\ ` and `#\newline` instead of `#\space` and `#\linefeed`.
  these seem to be more standard.
2017-08-19 12:27:27 -04:00
Jeff Bezanson a76b29eee8 several minor changes and additions:
- add io.ungetc and string.isutf8
- maintain input order in delete-duplicates
- error for unicode escapes greater than 0x10ffff
- make more builtins constant (use setc instead of set)
- use prog1 in begin0 macro
- array-ref was incorrectly called array-ref! in aliases.scm
- use (void) instead of () in 0-arg C functions
- don't do arithmetic with void*
2013-06-08 19:29:15 -04:00
Jeff Bezanson fe8b88cfc6 fix bug printing custom cvalue types that lack print methods 2013-03-31 00:20:54 -04:00
Jeff Bezanson 6ed61e66ac moving some flisp-specific code out of library 2012-02-17 23:59:45 -05:00
Jeff Bezanson 2b34bcfbd3 moving stuff around some more 2012-02-17 17:53:34 -05:00