How to gen code for parallel icon?
acctesttemp opened this issue · 2 comments
Hi, I love the way Drakon editor create diagram and can gen the code. Does anyone can gen code for parallel icon yet (language is python) ? I try to gen and get: Elements of type 'parallel' are not supported by the verifier yet
Any plan to supported it in near future or refer some instruction docs to manual add it to the editor?
Many thank for your response!
Cheer :")
No clue about plans for future support, but the update cycle for this is pretty slow so I wouldn't pin your hopes on it. There is also no significant documentation that I know of. That said, most of the code is available to peruse and change if you feel up to the task yourself.
Some documentation would actually be a pretty good idea, I should go through and write some up at some point...
And also, I try find how to add decorate to a function in python language ( like static or virtual in C language but more in general way ) like:
@p_decorate
def get_text(name):
return "{0}".format(name)
@Serenacula is the current editor support it ?