idealingua-v1
idealingua-v1 copied to clipboard
Lens extension(s)
- We definitely need lense generator for scala
- Other languages would be nice as well.
This should be an independent module? Can I take it?
@vitaliihonta Hi, thank you very much for asking! We welcome all contributions, and especially a major contribution such as a lens module. However, now would be a bad time to take on this task because we're in the middle of rewriting Idealingua's typer, see https://github.com/pshirshov/izumi-r2/issues/305 - to implement this right now you'd have to write field extraction logic ad-hoc for every target language and most of that code would have to be changed after the rewrite.
Hi,
Actually @kaishh is right. It's a bad idea to start working on this now. We should precompute an abstract representation for lenses during typing phase then render it in each of the code generators. At the moment you would have to do it independently for each target language.
You may help us to design and implement our new typer, let us know if interested :)
@pshirshov @kaishh can you suggest some good first issue ?)
@vitaliihonta Are you open to contributing to other parts of the project besides IDL?
For other projects there are a couple of isolated issues:
- logstage: Omit the middle part of thread name in logs, not the first part - Easy
- distage: Implement TagK for type projections - If you want to dive into scala typer
@vitaliihonta so, new typer is almost ready. If you really want to take this - you may look at branch feature/typer2 and ask your questions )