-
Notifications
You must be signed in to change notification settings - Fork 63
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
Ported PythonGenerator.xtend
to Java and started refactoring of GeneratorBase
#958
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The improvements to the PythonGenerator are excellent!
Thank you for taking up this task and turning it over so quickly.
I only had minor comments.
I still think that someone with a more experienced eye toward issues that could arise from porting Xtend to Java should probably also take a glance at the changes.
org.lflang/src/org/lflang/generator/python/PythonGenerator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a very sensible refactoring to me. Thank you for working on improving code quality so diligently!
PythonGenerator.xtend
to javaPythonGenerator.xtend
to Java and started refactoring of GeneratorBase
See #838 for context.
Along with porting
PythonGenerator
to java, I also factored out part of the code into separate files (PythonReactionGenerator
,PythonParameterGenerator
, etc), which also led to factoring a small part ofCGenerator
into separate files (CReactionGenerator
)