Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Bezanson 75455f4029 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.
2019-08-08 18:09:02 +03:00
Jeff Bezanson 2950c453c6 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*
2019-08-08 18:09:02 +03:00
Jeff Bezanson 687cf8fdb5 fix bug printing custom cvalue types that lack print methods 2019-08-08 18:09:02 +03: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