-
Notifications
You must be signed in to change notification settings - Fork 25
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
Overture code generation improvements: VDM-to-C and RT-to-RMI code generators #491
Comments
Changing the name of the |
These issues have now been addressed. The application of the overture/core/codegen/platform/src/main/java/org/overture/codegen/ir/CodeGenBase.java Lines 77 to 94 in 1870f21
overture/core/codegen/platform/src/main/java/org/overture/codegen/ir/CodeGenBase.java Lines 380 to 420 in 1870f21
I'm closing this issue for now. |
…for each user-defined templates Issue #491
Recent development work on the VDM-to-C code generator and the RT-to-RMI code generator has given rise new suggestions for improvements that should be addressed:
VDM2C project
Example: Node:
org.overture.codegen.cgast.declarations.ADefaultClassDeclCG
Template:<myRoot>/org/overture/codegen/cgast/declarations/ADefaultClassDeclCG.vm
FuncTrans
. Thereturn
statement is created but no source it selected for it.PCG
fieldsourceNode
should be changed from a tree field to a graph field. New version of ASTCreator now allows this feature to be done.ide/plugins/codegen
toide/plugins/javagen
to better describe what functionality this plugin providesisLocal
method in theDeclAssistantCG
class.generate
method such that it does things such as computing the definition tableMergeVisitor
and make it return a status. Also makes sure that the state of theMergeVisitor
is cleared after it has been appliedisLocal
property is correctly set for variable occurencesconsNextElementCall
in the transformation assistant must accept the type as aSTypeCG
and not ajava.lang.String
.CodeGenBase
with funtionality for emitting generated code.cg.astv2
toir.ast
. The same for the node files.The ffollowing commands have been used to do the refactoring:
RT-to-RMI project
raises
to theAMethodDeclCG
node.The text was updated successfully, but these errors were encountered: