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

Scala 3 support #986

Open
1 task done
Tylerwbrown opened this issue Aug 1, 2024 · 0 comments
Open
1 task done

Scala 3 support #986

Tylerwbrown opened this issue Aug 1, 2024 · 0 comments
Labels
help wanted lexer missing Missing a lexer, please contribute

Comments

@Tylerwbrown
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What is the missing lexer?

The main issue I've noticed is that : seems to be universally treated as a type annotation, while in Scala 3 it can also be used to denote blocks (essentially as an alternative to {}). I've attached some colon vs brace comparisons using the chroma playground.
image

Links to existing syntax definitions

https://docs.scala-lang.org/scala3/reference/syntax.html

@Tylerwbrown Tylerwbrown added help wanted lexer missing Missing a lexer, please contribute labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted lexer missing Missing a lexer, please contribute
Projects
None yet
Development

No branches or pull requests

1 participant