<erkin>
I swapped scheme/base with racket/load in the language definition and it says no #%module-begin binding, even though I'm clearing `provide'ing it.
<samth>
Is there something that doesn't explain? There's not a long explanation about how to use it because it is mostly not a good idea.
<samth>
you can't just use `racket/load` in place of some other language
<erkin>
It's definitely not a good idea for anything serious, that's for sure.
<samth>
it's like writing things at the top-level
dddddd has joined #racket
orivej has joined #racket
badkins has joined #racket
<erkin>
That's what I want though.
<erkin>
I want it to be like I typed the contents of the included file at top level, followed by the contents of the rest of the file.
<erkin>
Oh wait. I can't do that on the repl either.
<erkin>
Dang.
<erkin>
I guess it would be a total violation of lexical scoping.
<erkin>
Oh well, I won't push my luck further.
<erkin>
wait, it works
<erkin>
I'm in awe.
<erkin>
samth: I misunderstood how racket/load works it seems. It already `provide's everything necessary. I just had to `require' it in the language definition and `provide' `#%module-begin', `#%top-interaction' and `load'.
<erkin>
Thanks for the advice. :-)
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #racket
ohama has quit [Ping timeout: 264 seconds]
ohama has joined #racket
rgherdt has quit [Quit: Leaving]
epony has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
notzmv has joined #racket
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
dustyweb has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
rgherdt has joined #racket
sagax has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 246 seconds]
Bjarno has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
endformationage has joined #racket
dbmikus has joined #racket
jellie has joined #racket
badkins has joined #racket
readyready15728 has quit [Quit: Leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
Sauvin has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
srandon111 has quit [Quit: leaving]
orivej has joined #racket
jellie has quit [Ping timeout: 246 seconds]
jellie has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
sagax has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
dmiles has quit [Ping timeout: 240 seconds]
jellie has quit [Read error: Connection reset by peer]