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

Target language dependent synthesis #68

Open
Calvin-L opened this issue Oct 21, 2018 · 0 comments
Open

Target language dependent synthesis #68

Calvin-L opened this issue Oct 21, 2018 · 0 comments

Comments

@Calvin-L
Copy link
Collaborator

Different target languages (e.g. Java, C++, Python) have different available primitives to use. For instance, EArrayLen is easy to implement in Java but not in C. (This relates to #67; EArrayLen makes sense regardless of the target language, but should not appear in the final implementation if your target language is C.)

Cozy should probably adjust its set of primitives and perhaps even its cost model based on what target language was requested.

To implement this, we will also need to change Cozy's command-line interface to accept only one target language at a time.

@Calvin-L Calvin-L assigned Calvin-L and unassigned Calvin-L Oct 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant