Fernando-Basso has quit [Remote host closed the connection]
john2x has quit [Ping timeout: 255 seconds]
badkins_ has joined #racket
libertyprime has quit [Remote host closed the connection]
badkins has quit [Ping timeout: 255 seconds]
badkins has joined #racket
badkins_ has quit [Ping timeout: 255 seconds]
dbmikus_ has quit [Ping timeout: 246 seconds]
badkins_ has joined #racket
badkins has quit [Ping timeout: 268 seconds]
lockywolf has joined #racket
lockywolf_ has joined #racket
john2x has joined #racket
lockywolf has quit [Remote host closed the connection]
pera has quit [Quit: leaving]
FreeFull has quit []
badkins has joined #racket
badkins_ has quit [Ping timeout: 246 seconds]
john2x has quit [Ping timeout: 245 seconds]
zmt01 has joined #racket
notzmv has quit [Remote host closed the connection]
zmt00 has quit [Ping timeout: 264 seconds]
john2x has joined #racket
lockywolf_ has quit [Ping timeout: 245 seconds]
metadave has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
keep_learning_M has joined #racket
orivej has quit [Ping timeout: 250 seconds]
Arcaelyx has joined #racket
proksi has joined #racket
lockywolf has joined #racket
pierpal has quit [Quit: Poof]
lockywolf has quit [Ping timeout: 255 seconds]
lockywolf has joined #racket
selimcan has joined #racket
selimcan has quit [Remote host closed the connection]
lockywolf has quit [Ping timeout: 244 seconds]
libertyprime has joined #racket
sauvin has joined #racket
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
lavaflow has quit [Ping timeout: 250 seconds]
caltelt has quit [Ping timeout: 250 seconds]
lockywolf has quit [Read error: Connection reset by peer]
alexander_ has joined #racket
<alexander_>
Hello. I'm a bit new to using Racket, but I would like to ask a question. I'm working on a GUI using the Racket REPL with emacs, however it seems like mouse callbacks aren't working with the REPL. Is there a workaround, or should I be using DrRacket for this?
<johnjay>
>GUI using the Racket REPL with emacs
<johnjay>
is this like slime or something?
<alexander_>
Yeah, similar. Its an issue I've noticed with racket-mode and geiser, so I think it may be mostly emacs related. It works fine with DrRacket though.
<johnjay>
well i'm learning emacs but i know little of mouse functions
<johnjay>
i can tell you how to go to the C definition for any emacs function. that's about it
<clacke>
funny, so far Racket is the most "real world" LISP I've used. But then I haven't used Clojure yet.
<alexander_>
Don't worry, I'm not a pro in either. Looking at C definitions for emacs functions may be a bit above my level, so I think I'll just get used to DrRacket for this at least.
jao has quit [Ping timeout: 245 seconds]
<johnjay>
alexander_: it is above mine as well but i still do it
<johnjay>
so far i've learned there are c macros. a lot.
<johnjay>
so far the only concrete gain from it was answering someone's question
<johnjay>
they said something like, well this function seems to return nil when the other returns t and vice versa
<johnjay>
and i was able to say why. because the C code for them was exactly the same but with the if/then/else condition swapped
Arcaelyx has quit [Ping timeout: 264 seconds]
Siegfried has joined #racket
endformationage has quit [Quit: WeeChat 2.4]
<J_Arcane>
anyone have any idea what the last Racket version confirmed to work on XP is?
<J_Arcane>
6.2.1 works so far, but 7.2 crashes on starting DrR, and I'm not sure I want to deal with dialing in which version in the middle works one at a time. XD
sz0 has joined #racket
john2x has quit [Ping timeout: 255 seconds]
<alexander_>
Wow, that took me much longer than it needed to, but thanks to the plot-container package, I was finally able to imbed a plot into my GUI
<alexander_>
embed, not imbed...
<sagax>
hi all!
<sagax>
what awesome plugins for vim we have?
<sagax>
in context racket
lockywolf has joined #racket
caltelt has joined #racket
YuGiOhJCJ has joined #racket
vraid has quit [Ping timeout: 258 seconds]
Sgeo_ has quit [Read error: Connection reset by peer]
Sgeo_ has joined #racket
lockywolf has quit [Remote host closed the connection]
vraid has joined #racket
alexander_ has quit [Ping timeout: 245 seconds]
orivej has joined #racket
<jboy>
sagax: I use wlangstroth/vim-racket, jpalardy/vim-slime, and kovisoft/paredit. works well.
<raoul1>
Hi! I'm looking into expanding to typed/racket from a custom DSL. I am just reusing the typed/racket expander as such: `(module m typed/racket ,(preprocess source-code))
<raoul1>
While this works ok with a file, this of course leaves all of typed/racket available to the REPL, since #%top-interaction is not redefined by my language
<raoul1>
So basically, I need to import the typed/racket expander into my own expander to rewrite some core forms
<raoul1>
Is there such a thing as a "single point of entry" to the typed/racket expander that I could simply require, please? I tried reading the typed/racket source, but I am clearly swimming out of my depth.
ZombieChicken has quit [Remote host closed the connection]
dddddd has joined #racket
selimcan has joined #racket
selimcan has quit [Remote host closed the connection]
iyzsong has joined #racket
lavaflow has quit [Read error: Connection reset by peer]
jao has joined #racket
lavaflow has joined #racket
<samth>
raoul1: I recommend just redefining `#%top-interaction` the same way
<samth>
there is not a "single point of entry" between typed/racket's `#%module-begin` and `#%top-interaction` -- they're too different to provide that
lockywolf has joined #racket
badkins has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf has quit [Ping timeout: 246 seconds]
iyzsong has quit [Ping timeout: 245 seconds]
<raoul1>
samth: I do not understand. How can I redefine `#%top-interaction` from my expansion `(module m typed/racket ,(preprocess blahblahblah ...
<raoul1>
?
<raoul1>
Since the #%top-interaction form is defined in the typed/racket expander, which is the `typed/racket` part of my expression, isn't it?
<raoul1>
so I cannot use my `preprocess` function to do that
<raoul1>
do you mean something such as: `(replace-top-interaction (module m typed/racket ,(preprocess blahblahblah ...
<raoul1>
?
clacke_movim has joined #racket
badkins has joined #racket
<samth>
raoul1: you're defining your own language, so that language should provide `#%top-interaction` in addition to `#%module-begin`
Fernando-Basso has quit [Remote host closed the connection]
<raoul1>
samth: Thank you. I was instead hoping to completely translate to typed/racket before the expansion step, therefore reusing all typed/racket core forms. But I did not think of the REPL, which if I do that stays in plain typed/racket.
<samth>
raoul1: what do you mean by "before the expansion step"?
<samth>
the module you showed is re-using the typed racket module-begin, and you should reuse the typed racket #%top-interaction similarly?
<samth>
or do you mean that you're doing everything in the reader?
<raoul1>
I mean the result of (preprocess source-code) in my above expression would result in typed/racket syntax
<raoul1>
yes, essentially meaning everything in the reader
<raoul1>
Essentially, I want to write plain typed/racket with an alternate syntax
<raoul1>
I am especially interested in reusing the type system without having to rewrite it, hence this strange approach
efm has joined #racket
<samth>
raoul1: I understand, you don't need to rewrite anything
<samth>
you just need to define your `module-begin` and `top-interaciton` macros to expand to the typed-racket versions of those macros
<samth>
did you ask about this on the mailing list? if so, the response matthew butterick gave is exactly right
<raoul1>
samth: Yes, I did. Probably I wasn't able to capture the full meaning of the answer I got.
<samth>
what you should do is have your reader produce your own language, and then implement that language by providing your own version of module-begin
<samth>
that implementation follows exactly what matthew says in his email
<raoul1>
Ah, rereading the answer in the context of your explanation, I think I understand better now.
<raoul1>
I will try again following your input. Thank you very much for taking the time to answer me :-)
dbmikus_ has joined #racket
sz0 has quit [Quit: Connection closed for inactivity]
dan_f has joined #racket
dan_f has quit [Client Quit]
raoul1 has quit [Quit: WeeChat 1.9.1]
dan_f has joined #racket
dimitarvp has joined #racket
dbmikus_ has quit [Ping timeout: 264 seconds]
Arcaelyx has joined #racket
badkins has quit [Ping timeout: 252 seconds]
selimcan has joined #racket
pera has joined #racket
dbmikus_ has joined #racket
<dustyweb>
hello racket firendos
<dustyweb>
friendos
badkins has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
dan_f has quit [Quit: dan_f]
jao has quit [Ping timeout: 246 seconds]
dbmikus__ has joined #racket
dbmikus_ has quit [Ping timeout: 255 seconds]
<selimcan>
hey dustyweb
dimitarvp has quit [Quit: Bye]
efm has quit [Ping timeout: 246 seconds]
winny has quit [Quit: WeeChat 2.1]
winny has joined #racket
dan_f has joined #racket
libertyprime has quit [Ping timeout: 244 seconds]
_whitelogger has joined #racket
ficion has joined #racket
selimcan has quit [Ping timeout: 255 seconds]
orivej has joined #racket
dbmikus__ has quit [Ping timeout: 246 seconds]
selimcan has joined #racket
dbmikus__ has joined #racket
<dustyweb>
hi selimcan
selimcan has quit [Remote host closed the connection]
selimcan has joined #racket
caltelt has quit [Remote host closed the connection]
caltelt has joined #racket
lf94 has quit [Ping timeout: 246 seconds]
lf94 has joined #racket
badkins has quit [Ping timeout: 250 seconds]
davidl has joined #racket
orivej has quit [Ping timeout: 245 seconds]
endformationage has joined #racket
badkins has joined #racket
vraid has quit [Ping timeout: 252 seconds]
jao has joined #racket
groovy2shoes has quit [Quit: moritura te salutat]
efm has quit [Read error: Connection reset by peer]
ZombieChicken has joined #racket
efm has joined #racket
moldybits has quit [Quit: WeeChat 2.4]
moldybits has joined #racket
selimcan-i_sani has joined #racket
selimcan has quit [Ping timeout: 255 seconds]
dan_f has quit [Quit: dan_f]
notzmv has joined #racket
vraid has joined #racket
Arcaelyx has quit [Ping timeout: 240 seconds]
dbmikus__ has quit [Ping timeout: 246 seconds]
dbmikus__ has joined #racket
pera has quit [Quit: leaving]
selimcan-i_sani has quit [Remote host closed the connection]
ficion has quit [Ping timeout: 244 seconds]
mSSM has quit [Ping timeout: 255 seconds]
notzmv has quit [Remote host closed the connection]