New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document /<foo ...>/ syntax somewhere
#1858
Comments
|
Grammars or regexes? |
|
🤷♀️ |
|
OK. Had a look at this on and off during the day. A few preliminary points (as I see it - correct where necessary):
So, before I go further, I need to know if
None of these options look all that good to me. I need some advice. |
|
You look reasonably on track, but you probably need to show your examples to see how it goes. You can't take away this feature; if it's internal, it should not be documented, but if it's not... |
|
Gist documented what's been done so far here: https://gist.github.com/mryan/dc8c890de862876abc4f87f55d974070 |
|
This looks extremely useful, I'm +1 for adding it. Generally, we should first look if there are any tests in roast for it. If there are, then we document it right away. If not, then we don't… If there are no tests for it right now, maybe add some? I'm not sure which part of it exactly is implementation-specific… |
|
I've posted a question to stack overflow asking how to use this feature. Need to see how it's used before being able to document how it's used. |
|
Check out @TimToady 's comment in the IRC https://colabti.org/irclogger/irclogger_log/perl6?date=2018-05-08#l150 |
It's a special syntax that lets users write stuff like their own versions of stuff like
<before ...>. (description copied from rakudo/rakudo#1634 (comment))I guess maybe somewhere in the "advanced" section or grammars is a good place to put this. Just to separate it from all the common syntax novice users might be reading through.
The text was updated successfully, but these errors were encountered: