janpolowinski / rvl

RVL language
Other
2 stars 3 forks source link

setting graphic attributes should be generic #103

Open janpolowinski opened 9 years ago

janpolowinski commented 9 years ago

/rvl-interpreter/src/main/java/org/purl/rvl/tooling/rvl2avm/RVLInterpreterBase.java#applyGraphicValueToGO maps attributes 1-to-1. This should be done in a generic way. One solution could be to use graph transfomations here and work directly on the graph to avoid using generics to call the graphic attrbute setters.