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

Language ambivalence #133

Open
wants to merge 7 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@blast-hardcheese
Collaborator

blast-hardcheese commented Nov 8, 2018

Starting to address #36

The work involved in providing support for different languages is effectively the following:

  • Encode existing Free algebras with knowledge of which language they are targeting
  • Remove all references to scala.meta from everything but the ScalaLanguage specification class and the generators
  • Add a language parameter to the argument parser/context
  • Add a java generators for akka-http clients and servers, using javaparser
  • Add a Jackson generator, wire it in to the java-akka stuff according to the docs
@blast-hardcheese

This comment has been minimized.

Collaborator

blast-hardcheese commented Nov 8, 2018

I definitely don't expect to tick all those boxes in this PR, but this is the general direction this work is going in.

I'm also interested in feedback on the language encoding.

I was pleased that this worked. Initially I was trying to use path dependent types, and that turned out to be a very bad idea, since there was no proof that the instances for the values at the different paths were related at all, even if they were the same object just passed around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment