#29 Give Action Language compiler access to Modelverse types

开启中
由 yentl 于 10 年之前创建 · 0 条评论

While now all code can use primitives such as Integer and such, it would be nicer if the action language can use whatever types it deems necessary. These types could then be imported from the Modelverse itself, and potentially conformance checks can occur when assigning new values to them. So an assign of a value to an integer variable would trigger a conformance check for that specific integer. After that, we know that it is an Integer, and no longer need to do any conformance checks. Similarly, we can do this for all kinds of models in the Modelverse.

While now all code can use primitives such as Integer and such, it would be nicer if the action language can use whatever types it deems necessary. These types could then be imported from the Modelverse itself, and potentially conformance checks can occur when assigning new values to them. So an assign of a value to an integer variable would trigger a conformance check for that specific integer. After that, we know that it is an Integer, and no longer need to do any conformance checks. Similarly, we can do this for all kinds of models in the Modelverse.
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。