-
Notifications
You must be signed in to change notification settings - Fork 84
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
Does mapDollarDollar
belong in happy-grammar
?
#295
Comments
mapDollarDollar
belong in happy-grammar
mapDollarDollar
belong in happy-grammar
?
I believe that you want a clearly defined interface to the |
@sgraf812 Well nevermind (It is also not clear to me that the |
I suppose you could replace its use by its implementation. That is, whenever |
If i understand correctly, if we parse the thing with IMO first-order representation > higher-order representation > status quo. |
You could think of the syntax
describing a "pattern synonym" for happy actions. I.e.
the use of Likewise, other places in happy (OTOH I don't know which) will need to build an I think it's far simpler to associate with each
instead. I don't think |
I turns out that only the first |
Instead of deferring the handling of `$$` to the backends, properly parse the `$$` syntax up front, and store the result in the AST. Note that the GLR backend was improperly substituting the `$$` twice. Now that we have better types, this was surfaced as type error, and then removed. Fixes haskell#295
That rather sounds like a bug to me. But let's just preserve the status quo. |
it is just used in various backends. Unclear what the
$$
is used for; untyped stuff to say the least.The text was updated successfully, but these errors were encountered: