[racket] Evaluating a module with an unintended language
Matthias Felleisen <matthias at ccs.neu.edu> wrote:
>
>I can't think of another way. But I am also wondering why you'd want to
>run a program written in language L in language K. -- Matthias
Mostly I just wondered how easy it would be to do it. (Certainly the toy examples I made were things one could doubtless implement in more direct ways: counting the definitions or check-expects, for example.)
>p.s. To think of
> (define (hi person) ...)
>as a program is wrong. You should look at the file proper where you
>will see the extra lines that your reader accept 'throws away'.
Understood; it seemed like overkill to quote those lines as well, but probably the example was superfluous anyway.
> In the
>near future, we will ask students to write
>
> #lang htdp/bsl
Hm! That's fine, though I'm curious, is the intention ultimately to replace (or just pare down) the "Choose Language" and Teachpacks menu infrastructure?
Best,
Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121101/d46a09cc/attachment.html>