HEADS-project / heads_ide

http://heads-project.eu
9 stars 2 forks source link

Globally properties #81

Closed kehusa closed 9 years ago

kehusa commented 9 years ago

It would be convenient to be able to define global variables where all things use the same "instance" of it.

brice-morin commented 9 years ago

OK, we will NOT make some sort of static properties. The only way two things can exchange information is via asynchronous message passing via ports, not via shared variable. But, in the specific case of the Kevoree compiler, we will try to make something to "merge" all attributes into one e.g. with a @kevoree "global" annotation. Basically the Kevoree attribute will be unique, but the ThingML attributes will remain seperated.

brice-morin commented 9 years ago

Actually, I think we have 3 possible mappings: