
file->lines
is also quite useful

@vitalyankh has joined the channel

Anyone with Racket CS 7.5 installed? I got a bug report. Does the this run in DrRacket CS:
#lang sicp
(/ (+ 5
4
(- 2 (- 3 (+ 6 (/ 4 5)))))
(* 3
(- 6 2)
(- 2 7)))
https://github.com/sicp-lang/sicp/issues/32

No, it runs out of memory, so something is clearly wrong. Works fine in traditional DrRacket and with just Racket CS.

Just -37/150
goes wrong in DrRacket CS, so it’s almost certainly something triggered by trying to format a fraction.

There is not much going on in the sicp
lang.
(define-syntax module-begin
(syntax-rules ()
((_ . forms)
(#%printing-module-begin
(module configure-runtime '#%kernel
(print-as-expression #f)
(print-pair-curly-braces #t)
(print-mpair-curly-braces #f))
. forms))))
https://github.com/sicp-lang/sicp/blob/master/sicp/main.rkt

Yes, I mean it’s unrelated to the sicp
language.

Check.

Repair pushed.

Thanks!