Carl Mäsak

Results 649 comments of Carl Mäsak

@vendethiel Thank you for the explanation. It's good to know about prior art. I agree APL is somewhat opaque, but (thanks to your explanations), I think I actually got it....

Parenthetically, there should also be a very clear policy about where, as part of the macro expansion mechanism, AST fragments are cloned. (Something like, when macro arguments are passed into...

I had some time to spare today, so I put together a list. I kinda like the result. I've also marked in bold the ones needed for #324. Seems like...

Oh, what the heck. Let's go all-out on this one. The "cheating" referred to in #324 can be extended to all of the core modules in the list in this...

All of the above modules are fairly orthogonal (to the extent grammar-modifying modules ever are orthogonal), _expect_ for `syntax.stmt.modifier`. Conceivably, you'd get "all" of the statement keywords as modifiers by...

Coming back to this issue, it's pretty clear there was a bit of a "pressure valve" being released here; the issue started out talking about just _documenting_ all of our...

> I think there might be around syntax-extending 20 modules to describe among the issues. 48, at last count.

It gets installed in the category of your choice, for example `term` or `infix`.

Oh hey, wait. `* %% ["," ]` — where have I seen that before? By some remarkable coincidence, that's the `argumentlist` rule in the 007 grammar. (It's written a bit...

Of course, a _real_ implementation of this macro would also take into account the associativity (or lack thereof) of the infix operator.