|
6macros: discussing the finer points of Perl 6 macros, Qtrees, and how to stay sane | irclog: irclog.perlgeek.de/6macros/today Set by moderator on 28 July 2015. |
|||
|
02:58
ilbot3 joined
20:14
Ven`` joined
20:28
cognominal joined
|
|||
| Ven`` | Seems to me, tbh, that it would be quite a burden to have that on every single qnode. I mean, it does make creating nodes "that much" difficult | 20:30 | |
| I'm thinking of whether or not it'd then be useful to have an API like $x.add-child:...; or what... | |||
| This is quite the hairy one :-). I have to admit, my understanding of how things happen in Racket is quite fuzzy. | 20:31 | ||
| I do, however, remember reading a post that explained it with a bit of details | |||
| FTR, the blogpost is lexi-lambda.github.io/blog/2017/10...o-hackett/ - but it has probably too many things unrelated to our issue at hand | 20:32 | ||
| cognominal | salut Ven`` | ||
| Ven`` | hello cognominal :) | 20:34 | |
| if we look at, e.g., racket's datum->syntax ( docs.racket-lang.org/reference/stx...ntax%29%29 ) | 20:35 | ||
| we see it takes a Syntax Object (docs.racket-lang.org/reference/syn...-model%29) | |||
| From that page: | 20:36 | ||
| > A syntax object combines a simpler Racket value, such as a symbol or pair, with a scope set at each phase level, source-location information, syntax properties, and tamper status. | |||
| I think we can take a deep look at Racket's syntax objects, because they seem very interesting for the problem we're seemingly trying to solve. | |||
| I don't know how the other schemes implementations deal with it. | 20:37 | ||
|
21:17
Ven`` joined
|
|||