orkunasa
2018-1-11 08:19:47

@orkunasa has joined the channel


dmitryhertz
2018-1-11 13:37:22

@dmitryhertz has joined the channel


leif
2018-1-11 18:36:35

@robby Could you point me to where in DrRacket’s implementation paren matching happens?


leif
2018-1-11 18:37:02

Just the file (or even the mixin responsible) would help a lot.


leif
2018-1-11 18:37:10

If you remember anyway. If you don’t know worries. :slightly_smiling_face:


shu--hung
2018-1-11 18:46:05

@leif AFAIK, there’s some code in framework/color.rkt in gui-lib that handles parenthesis matching


robby
2018-1-11 18:52:42

Yes that it how the general library hooks into the framework (and drr uses it)


robby
2018-1-11 18:52:53

There is another library that you may want tho


robby
2018-1-11 18:53:05

But you can follow the dependency from there I guess


robby
2018-1-11 18:53:15

Let me know if you can’t find it


leif
2018-1-11 19:02:17

Okay. I thought color.rkt mainly handled lexing. But I’ll take another look. Thanks. :slightly_smiling_face: @shu—hung @robby


robby
2018-1-11 19:03:09

Yes it is layered on top of Lexing


robby
2018-1-11 19:03:20

All tied together


leif
2018-1-11 19:04:44

Ah, okay. Thanks.


leif
2018-1-11 19:47:24

@robby or @mflatt The surrogate docs say “If #:use-wrapper-proc does not appear, the host mixin…also adds…get-surrogate-wrapper-proc, and set-surrogate-wrapper-proc” This seems like it was a slight oversight and I’m happy to fix it. But I just want to double check that the getters and setters for surrogate-wrapper-proc are only supposed to appear when #use-wrapper-proc does appear.


leif
2018-1-11 19:54:22

If it is supposed to also generate those methods even when #:use-wrapper-proc is not provided, then the implementation doesn’t seem to do it.


robby
2018-1-11 20:25:15

Probably the docs are wrong if the docs and the implementation disagree


blerner
2018-1-11 20:37:46

Does anyone happen to know of a package for drawing simple class/object/UML diagrams in scribble? I’d like to replace the ascii “art” in my lecture notes if possible, and if convenient.


leif
2018-1-11 21:08:46

@blerner I’m not aware of a public package, but you could use the same code that the scribble/core docs use to build its uml diagram: https://registrar.northeastern.edu/app/uploads/form-gs-thesis.pdf


blerner
2018-1-11 21:09:10

eh, wrong link?


leif
2018-1-11 21:09:58

WOOPS, sorry. @michael.ballantyne was looking for a form. The actual link I meant was: http://docs.racket-lang.org/scribble/core.html?q=scribble%2Fcore



blerner
2018-1-11 21:10:33

sweet, thanks


leif
2018-1-11 21:10:40

g’luck.


leif
2018-1-11 21:11:47

If you do make it a standalone package that would be awesome btw. Although iirc you’re already pretty booked with work. :wink:


blerner
2018-1-11 21:14:33

ain’t gonna happen any time soon :slightly_smiling_face:


dedbox
2018-1-12 01:22:52

How often does <http://pkgs.racket-lang.org\|pkgs.racket-lang.org> rebuild packages?


samth
2018-1-12 01:23:09

@dedbox once a day


samth
2018-1-12 01:23:24

although only when it’s changed


dedbox
2018-1-12 01:26:40

@samth thanks. Burned by a typo!


dedbox
2018-1-12 01:28:46

In the mean time, I guess I’ll throw the rendered docs on GitHub pages.