want to create a namespace for (say) the BSL language in DrRacket.
Critically, I need the *reader* to be aligned with this language.
Otherwise, small semantic discrepancies creep in.
Concrete example:
> (define n (make-base-namespace))
> (eval `(require lang/htdp-beginner) n)
> (eval `(equal?
Hi,
While you're enumerating these possibilities, I think it's worthwhile to
mention a technique related to the FORTH implementation technique: Marc
Feeley style compilation (see "Using Closures For Code Generation" in
Computer Language Vol 12 No 1 pages 47-66). This idea is also mentioned i
With the improvements in the upcoming v7.8 release, Racket CS provides
all of the functionality of Racket BC (the current default
implementation). Also, end-to-end performance measurements
increasingly favor Racket CS. For example, Racket CS now builds a
distribution slightly faster and in slightly
If I understand the docs correctly, the OS-specific handling is in
open-input-file, but it is not the default.
Here is an alternative to read-line that preserves line endings:
#lang racket/base
;; my-read-line : InputPort -> String
;; Like read-line, but preserves line ending.
;; Fails i
4 matches
Mail list logo