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

Eclipse XText/XTend for Java code generation #37

Open
mohanr opened this issue Mar 29, 2020 · 3 comments
Open

Eclipse XText/XTend for Java code generation #37

mohanr opened this issue Mar 29, 2020 · 3 comments

Comments

@mohanr
Copy link

mohanr commented Mar 29, 2020

A general question about your Java code generation proposal which may already exist. Have you considered Eclipse XText as the code generation engine ? DAML already seems to be like the XText DSL if I am not wrong. I am only familiar with basic Eclipse XText/XTend. I believe we don't need the Eclipse editor to do this. Just the Maven build file and dependencies.

@GeorgSchneider
Copy link

I don't think we would introduce another intermediate representation from DAML. If anything we would directly generate bytecode from DAML-LF. But we haven't pursued this approach further.

@mohanr
Copy link
Author

mohanr commented Apr 3, 2020

Bytecode ? If you mean an ANTLR grammar for DAML that then generates Java code then it is usually done like that.

@GeorgSchneider
Copy link

No, I meant generate Java bytecode directly from DAML-LF, which is our intermediate representation

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

2 participants