Skip to content
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

Test in dotty #40

Open
bbarker opened this issue Oct 12, 2017 · 4 comments
Open

Test in dotty #40

bbarker opened this issue Oct 12, 2017 · 4 comments
Labels

Comments

@bbarker
Copy link

bbarker commented Oct 12, 2017

This is more for discussion rather than saying "we should do it now", but I want to note that dotty seems to be going in the direction of using more string interpolation (e.g., XML literals will likely be replaced as interpolated strings), and I'd hazard a guess that using VS Code with it (or any other editor that supports the language protocol in the future) would actually show syntax errors within an editor.

@kenbot
Copy link
Owner

kenbot commented Oct 12, 2017

Great point, this is a thing to think about. From what I've seen, there is significant risk that Dotty's take on macros makes our approach (using whitebox macros) unworkable.

@kenbot kenbot added the question label Nov 2, 2017
@kenbot
Copy link
Owner

kenbot commented Jul 6, 2018

This is interesting, and might mean that Goggles is viable beyond Scala 2 after all: https://github.com/dotty-staging/dotty/blob/add-transparent/docs/docs/typelevel.md

@kenbot
Copy link
Owner

kenbot commented Jun 25, 2019

Previous link is dead now, but: https://dotty.epfl.ch/docs/reference/metaprogramming/inline.html#specializing-inline-whitebox

Whitebox is back! It looks like this would let us refine the string context macro return type, which is what makes the Goggles approach work.

@julien-truffaut
Copy link

@kenbot btw I know that all Monocle blackbox macros have been ported in dotty, need to find the link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants