00:07
badkins has joined #racket
00:07
TCZ has quit [Quit: Leaving]
00:49
eli_oat has joined #racket
01:06
skapata has joined #racket
01:15
edrx has joined #racket
01:17
<
edrx >
but (require sicp-pict) gave this error: standard-module-name-resolver: collection not found
01:19
<
edrx >
and then I tried "raco pkg install sicp-pict", and it said "raco pkg install: cannot find package on catalogs"
01:31
<
bremner >
package: sicp
01:33
<
edrx >
bremner: thanks, that fixes a bug in my notes! "raco pkg install sicp" says "raco pkg install: package is already installed"
01:34
<
edrx >
but if I run something like this from a racket repl running in an emacs window
01:35
<
bremner >
start with #lang racket?
01:35
<
edrx >
the "(paint einstein)" says just "(object:image-snip% ...)"
01:35
<
edrx >
; stdin:1:0: read-syntax: `#lang` not enabled [,bt for context]
01:36
<
bremner >
ah. Well, right, I always start by loading some definitions with #lang in them
01:36
<
edrx >
I'm running a "racket" with no command line options
01:37
<
bremner >
oh. So not emacs racket-mode?
01:38
<
edrx >
let me install racket-mode...
01:38
<
bremner >
hmm. Well, I don't know about graphics then. I know the graphics work in racket-mode (just tested)
01:39
<
bremner >
I just added #lang racket to the top of your file, and hit C-c C-c in a racket-mode buffer
01:42
<
edrx >
how do I get a racket-mode buffer like the one you're using?
01:43
<
bremner >
just open a racket file for me.
01:43
<
bremner >
Or M-x racket-mode, I guess
01:43
<
edrx >
worked!!! fantastic! thanks! =)
01:44
<
edrx >
does racket support multi-line comments?
01:44
<
edrx >
let me see if I can implement support for test blocks on racket...
01:44
<
bremner >
yes, several different ways.
01:45
<
bremner >
#| |# or #;( ) the latter for s-expression comments
01:45
badkins has quit [Remote host closed the connection]
01:46
<
edrx >
is there a command that I can issue to the repl to make it load or reload a file foo.rkt in the current directory?
01:46
badkins has joined #racket
01:48
<
bremner >
there commands like that in xrepl, not sure how well racket-mode supports that
01:48
<
edrx >
what is the command in xrepl?
01:50
<
bremner >
there is ,load ,require and ,require-reloadable
01:51
badkins has quit [Ping timeout: 252 seconds]
01:53
<
bremner >
there is also geiser, it might have more repl support
01:53
<
edrx >
I'm trying to start by the barebones eepitch repl
01:53
<
bremner >
fair enough
01:53
<
edrx >
and I'm trying to understand racket-mode's repl, and make eepitch use it
01:54
<
edrx >
but I need a few basic things before that
01:54
<
bremner >
geiser has functions like geiser-repl-import-module
01:55
<
edrx >
geiser is similar to a slime/sly, right?
01:55
<
bremner >
well, inspired by, but I would say less fancy
02:06
<
edrx >
do you know how to make racket-repl display the repl buffer in the current window?
02:09
FreeFull has quit []
02:10
<
bremner >
sorry, nope.
02:15
<
winny >
you might be able to use the dynamic-rerequire feature of racket to achieve the reload without depending on a particular repl's featureset
02:20
<
winny >
it looks like you might be able to use defadvice to modify the racket-repl function's call to display-buffer. Or just override that procedure with your own.
02:21
<
winny >
check the github i feel like this has be have been asked previously
02:21
<
winny >
(if not greg might be interested)
02:23
<
edrx >
let me look at the repo...
02:51
jeosol has quit [Ping timeout: 260 seconds]
03:16
<
edrx >
where can I find examples of racket generating drawings in 3D?
03:32
<
edrx >
anyway, I shouldn't be playing with this now... I should be rehearsing my video for the emacsconf 😕
03:32
<
edrx >
thanks! I'll be back soon-ish! =)
03:32
edrx has left #racket [Killed buffer]
04:11
jeosol has joined #racket
04:11
ur5us has quit [Ping timeout: 252 seconds]
04:36
xgqt has quit [Ping timeout: 260 seconds]
04:36
xgqt has joined #racket
05:46
skapata has quit [Remote host closed the connection]
05:48
badkins has joined #racket
05:53
badkins has quit [Ping timeout: 256 seconds]
05:58
ev3n2 has joined #racket
05:59
ecraven- has joined #racket
06:00
runrin_ has joined #racket
06:05
runrin has quit [*.net *.split]
06:05
szkl has quit [*.net *.split]
06:05
kori has quit [*.net *.split]
06:05
sunarch has quit [*.net *.split]
06:05
ev3n has quit [*.net *.split]
06:05
ecraven has quit [*.net *.split]
06:05
runrin_ is now known as runrin
06:05
ev3n2 is now known as ev3n
06:06
jeosol has quit [Quit: Client closed]
06:44
jeosol has joined #racket
07:09
ecraven- is now known as ecraven
07:34
sunarch has joined #racket
07:34
szkl has joined #racket
07:34
kori has joined #racket
07:38
szkl has quit [Ping timeout: 263 seconds]
07:38
sunarch has quit [Ping timeout: 263 seconds]
07:40
szkl has joined #racket
07:40
sunarch has joined #racket
08:11
badkins has joined #racket
08:15
badkins has quit [Ping timeout: 252 seconds]
08:25
tumdum has joined #racket
09:09
codingquark has quit [Ping timeout: 265 seconds]
09:18
sxn has joined #racket
09:35
mason has quit [Ping timeout: 252 seconds]
09:36
mason has joined #racket
09:53
codingquark has joined #racket
10:08
ASau has quit [Read error: Connection reset by peer]
10:12
badkins has joined #racket
10:17
badkins has quit [Ping timeout: 260 seconds]
10:27
ASau has joined #racket
10:57
skapata has joined #racket
11:02
TCZ has joined #racket
11:17
ec_ has quit [Remote host closed the connection]
11:18
ec_ has joined #racket
11:33
codaraxis has joined #racket
11:42
ec_ has quit [Remote host closed the connection]
11:42
ec_ has joined #racket
11:48
irc_user has joined #racket
11:58
skapata has quit [Remote host closed the connection]
11:59
d3mon has joined #racket
11:59
<
d3mon >
so I have a syntax object I want to evaluate according to some definitions
12:00
<
d3mon >
what's the best way to allow `eval` to see those definitions?
12:00
<
d3mon >
I'm currently getting myself in a muddle trying to figure out namespaces :S
12:05
sxn has quit [Ping timeout: 246 seconds]
12:26
tumdum has quit [Ping timeout: 252 seconds]
12:28
tumdum has joined #racket
12:34
<
bremner >
I guess using macros instead of eval is not the answer you are looking for
12:35
TCZ has quit [Quit: Leaving]
13:00
codaraxis has quit [Ping timeout: 256 seconds]
13:44
jeosol has quit [Quit: Client closed]
13:57
badkins has joined #racket
13:57
morte_ has joined #racket
14:01
codaraxis has joined #racket
14:03
<
d3mon >
bremner: not what I was thinking of but I guess I could do that
14:03
<
d3mon >
using macros looked harder at first
14:04
<
bremner >
d3mon: or just calling syntax-parse on the syntax objects. Depends what your goals are I guess.
14:09
ASau has quit [Read error: Connection reset by peer]
14:13
sxn has joined #racket
14:17
sxn has quit [Ping timeout: 256 seconds]
14:18
<
d3mon >
I have used the `brag` package to parse a source file in a very small 'language'
14:18
<
d3mon >
the `parse` function from that package gave me a syntax object
14:18
<
d3mon >
I'm now trying to evaluate that syntax object
14:20
<
d3mon >
the book Beautiful Racket which I'm sort of working from uses macros but I don't really understand how it's doing it
14:20
<
d3mon >
(plus, that book uses its own dialect of Racket, but I'm trying to use base Racket)
14:30
sxn has joined #racket
14:43
ASau has joined #racket
15:17
<
d3mon >
based on doing some further reading it looks like I might be better off using `syntax-parse`
15:19
<
bremner >
that's what I have done in the past with output from ragg (predecessor of brag)
16:07
irc_user has quit [Quit: Connection closed for inactivity]
16:35
skapata has joined #racket
16:45
FreeFull has joined #racket
17:30
sxn has quit [Remote host closed the connection]
18:08
wwalker has quit [Quit: leaving]
18:08
wwalker has joined #racket
18:39
codaraxis has quit [Ping timeout: 256 seconds]
18:39
badkins has quit [Remote host closed the connection]
19:01
irc_user has joined #racket
19:04
morte_ has quit [Ping timeout: 246 seconds]
19:14
morte_ has joined #racket
19:19
badkins has joined #racket
19:35
tumdum has quit [Ping timeout: 260 seconds]
19:39
morte_ has quit [Ping timeout: 256 seconds]
19:39
tumdum has joined #racket
19:50
badkins has quit [Remote host closed the connection]
19:53
morte_ has joined #racket
20:03
mason has left #racket [#racket]
20:19
ur5us has joined #racket
20:36
codaraxis has joined #racket
20:57
morte_ has quit [Ping timeout: 260 seconds]
21:15
codaraxis has quit [Ping timeout: 260 seconds]
21:26
codaraxis has joined #racket
21:27
codaraxis has quit [Remote host closed the connection]
21:42
jeosol has joined #racket
22:49
badkins has joined #racket
23:17
badkins has quit [Remote host closed the connection]
23:21
TCZ has joined #racket
23:33
TCZ has quit [Quit: Leaving]
23:57
badkins has joined #racket