libertyprime has quit [Read error: Connection reset by peer]
lorenzoi has quit [Quit: Alt-F4ed]
dustyweb has joined #racket
orivej has quit [Ping timeout: 246 seconds]
keep_learning_M has joined #racket
orivej has joined #racket
Arcaelyx_ has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 248 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
iyzsong has joined #racket
jao has joined #racket
jao is now known as Guest36652
dimitarvp has joined #racket
dimitarvp has quit [Client Quit]
Guest36652 is now known as jao
dddddd has joined #racket
libertyprime has joined #racket
orivej has joined #racket
ubLIX has joined #racket
iclon_ has quit [Remote host closed the connection]
iclon has joined #racket
ermo has joined #racket
endformationage has joined #racket
efm has joined #racket
badkins has quit [Remote host closed the connection]
jao has quit [Ping timeout: 272 seconds]
acarrico has joined #racket
acarrico has quit [Ping timeout: 258 seconds]
keep_learning_M has quit [Quit: This computer has gone to sleep]
clacke_movim has joined #racket
jao has joined #racket
yharnam has joined #racket
selimcan has joined #racket
badkins has joined #racket
iyzsong has quit [Ping timeout: 252 seconds]
manualcrank has joined #racket
vraid has quit [Quit: Leaving]
selimcan has quit [Read error: Connection timed out]
selimcan has joined #racket
Arcaelyx has joined #racket
notzmv has quit [Ping timeout: 245 seconds]
selimcan has quit [Read error: Connection timed out]
selimcan has joined #racket
badkins has quit [Ping timeout: 246 seconds]
Lowl3v3l has joined #racket
selimcan-i_sani has joined #racket
selimcan has quit [Ping timeout: 272 seconds]
simendsjo has joined #racket
Arcaelyx has quit [Read error: Connection reset by peer]
Arcaelyx has joined #racket
Arcaelyx has quit [Read error: Connection reset by peer]
selimcan-i_sani is now known as selimcan
libertyprime has quit [Ping timeout: 245 seconds]
pera has joined #racket
Arcaelyx has joined #racket
Arcaelyx has quit [Read error: Connection reset by peer]
badkins has joined #racket
ziyourenxiang has quit [Ping timeout: 244 seconds]
Arcaelyx has joined #racket
notzmv has joined #racket
simendsjo has quit [Ping timeout: 268 seconds]
sz0 has joined #racket
efm has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 245 seconds]
yharnam has quit [Remote host closed the connection]
badkins has quit [Ping timeout: 248 seconds]
acarrico has joined #racket
sauvin has quit [Read error: Connection reset by peer]
selimcan has quit [Quit: Leaving]
badkins has joined #racket
aeth_ has joined #racket
aeth has quit [Ping timeout: 246 seconds]
orivej has joined #racket
m1dnight_ has quit [Quit: WeeChat 2.4]
m1dnight_ has joined #racket
FreeFull has joined #racket
casaca has joined #racket
YuGiOhJCJ has joined #racket
simendsjo has joined #racket
YuGiOhJCJ has quit [Remote host closed the connection]
simendsjo has quit [Quit: ERC (IRC client for Emacs 26.2)]
refpga has joined #racket
SuperFluffy has joined #racket
mSSM has quit [Ping timeout: 268 seconds]
technomancy has joined #racket
selimcan has joined #racket
<technomancy>
I have a small .scm file meant to run in a weird scheme implementation that I would like to test using racket. is there a good way to set up a fake environment and run an arbitrary .scm file with those globals?
vraid has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
sz0 has quit [Quit: Connection closed for inactivity]
<technomancy>
I was testing it on a real-life arduino device but it's very tedious
<technomancy>
I figure I could work out the logic based on the gpio better in a scheme that ran on my laptop
<jcowan>
The code doesn't look that strange, except for using for-each-vector instea of vector-for-each, which is just a matter of a shim define.
<jcowan>
With enough define and define-syntax shims, any Lisp can masquerade as any other Lisp.
<technomancy>
jcowan: I guess I'm more wondering about the mechanics of how I'd run the code with `high', `low', `output', etc defined to be my own replacements
<jcowan>
Make them print out things, I guess.
<jcowan>
keep the state in a Scheme vector or other data structure
<technomancy>
no, I mean how do I load a file with a given environment so my "print out the things" versions of these functions are visible as globals
pera has quit [Ping timeout: 272 seconds]
<jcowan>
just define them in your own file and then load them.
pera has joined #racket
<technomancy>
ok, so the `load' function will attempt to run it in the current environment? that's what I was looking for, since I knew I couldn't use `require'
<technomancy>
thanks
<technomancy>
looks like `load' wants something else #%top-interaction: unbound identifier;
<technomancy>
but using `include' instead works
<technomancy>
cool
selimcan has quit [Ping timeout: 258 seconds]
SuperFluffy has quit [Ping timeout: 272 seconds]
selimcan has joined #racket
<jcowan>
Yees.
efm has joined #racket
ubLIX has quit [Quit: ubLIX]
selimcan has quit [Quit: Leaving]
selimcan has joined #racket
refpga has quit [Ping timeout: 248 seconds]
ziyourenxiang has joined #racket
libertyprime has joined #racket
<evdubs>
is there a displayln function that returns the printed string?
<evdubs>
i am trying to debug some code in a threading macro and i want to see the string that is trying to be processed so i need to hold on to the string while printing
<evdubs>
i suppose i can just write my own
<evdubs>
rolled my own
casaca has quit [Quit: leaving]
refpga has joined #racket
dharog has joined #racket
Samiry has joined #racket
efm has quit [Read error: Connection reset by peer]
Samiry has quit [Remote host closed the connection]