-
Notifications
You must be signed in to change notification settings - Fork 201
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
[=ref=] syntax should work on abstract-op type definitions too #809
Comments
I know I tried to do this once (unifying them under the supercategory "term"), but it turns out, for arcane and unnecessary reasons that are nevertheless hard to fix, that having both CS and CI categories in the same supercategory makes things screwy and terrible. I should try it again, since I've forgotten all the details of what went wrong. |
I'd be ok with a different shorthand too. |
I can do that easy. I'd like to continue the syntax of square-bracket + something else; any suggestions for the something else? |
Hmm, it'd be ideal if I didn't have to know the difference at the call site... I'd personally prefer to hold out until you can fix the architectural issues preventing [==] from working for both. |
Actually, if we want to be passing args as in:
Then having a different shorthand notation for abstract ops seems a better strategy. It also would be nice to be able to include Ecmarkup "!" "?" prefixing without having to manually auto-link those. All in all, I'd love for:
to just turn into: <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-algorithm-conventions">!</a>
<a data-link-type="abstract-op" href="#FooBar" id="ref-for-FooBar-1">FooBar</a>(<var>x</var>). No idea whether that's possible or not given your parser, etc. |
I would be happy enough just to have a dedicated syntax for abstract ops because of #861.
|
This is causing issues for the WebAssembly spec now as well; /cc @littledan. I believe he is categorizing abstract ops as dfns, understandably because |
I'd also be happy with some other fancy bracket combination! |
All right, I went with |
They're basically dfns that we want to preserve the case of.
The text was updated successfully, but these errors were encountered: