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

Two layers of Frontend? #52

Open
feiwang3311 opened this issue Aug 21, 2020 · 0 comments
Open

Two layers of Frontend? #52

feiwang3311 opened this issue Aug 21, 2020 · 0 comments

Comments

@feiwang3311
Copy link
Collaborator

In the repo, we already have 2 kinds of frontends. One is the simple Frontend.scala, the other is the type-based stub.scala.
It seems that the Frontend.scala is a temp/simple solution and the stub.scala is the write way to go. However, in transformation, the frontend.scala-style front end is more attractive since we do not have to handle types.

Is the ultimate solution to always have 2 layers of frontend, where the type-based frontend is user-facing and calls the simple frontend (type-less) that contains the logic of g.reflect()? If we have them, then we can always let users use the type-based frontend, and use the simple frontend in transformation.

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

No branches or pull requests

1 participant