The -l option loads a module path. As `racket --help` documents, `-l ` is
equivalent to `-e '(require (lib ""))'`. Since (require (lib "at-exp
racket")) won’t help you much, neither will `-l 'at-exp racket'`. I’m not
totally sure why you thought `-l` was the right option here, but it doesn’t set
On Mon, Mar 2, 2020 at 5:22 PM Michael MacLeod
wrote:
>
> $ racket -i -l scribble/reader -e "(use-at-readtable)" -l
> your-lang-without-@-support
>
> should do the trick.
>
Thanks. It works like a charm. But isn't a very nice recipe.
Are there reasons why -l 'at-exp racket' sdhouln't be made to w
$ racket -i -l scribble/reader -e "(use-at-readtable)" -l
your-lang-without-@-support
should do the trick. For example, to start a REPL in typed/racket with
@-reader support, you would use:
$ racket -i -l scribble/reader -e "(use-at-readtable)" -l typed/racket
> @+[2 3]
- : Integer [more precis
I tried this but had no luck;
Miriams-MBP:~ spdegabrielle$ cat start.rkt
#lang at-exp racket/base
(require racket/format)
(displayln "try me")
(~a "foo bar")
@~a{foo bar}
Miriams-MBP:~ spdegabrielle$ racket -t ~/start.rkt -i
Welcome to Racket v7.6.
try me
"foo bar"
"foo bar"
> (~a "foo
How may I start a racket command-line (or emacs subprocess) with the
at-exp racket language? (or at-exp something else) The obvious
racket -l 'at-exp racket'
doesn't work.
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
The universe isn't made of atoms, it's made of
5 matches
Mail list logo