亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Towards Modelica 4 Meta-Programming and Language Modeling with MetaModelica 2.0

作者
Peter Fritzson,Adrian Pop,Martin Sjölund
出处
期刊:KTH Royal Institute of Technology - KTH Publication Database DiVA [KTH Royal Institute of Technology]
被引量:18
摘要

This report gives a language definition and tutorial on how to model languages using MetaModelica 2.0 – an extension of Modelica 3.2 designed for efficient language modeling. Starting from an extremely simple language, a series of small languages are modeled by gradually adding features. Both interpretive and translational language semantics are modeled. Exercises with solutions are given. The approach of allowing the modeling language to model language semantics in principle allows the definition of language semantics in libraries, which could be used to reverse the current trend of model compilers becoming very large and complex. MetaModelica 2.0 builds on MetaModelica 1.0 which was the first Modelica language version that supports language modeling, and has been in extensive use since 2005, primarily in the development of the OpenModelica compiler. The following version of MetaModelica, called MetaModelica 2.0, is described in this report. It is easier to use since it also supports the standard Modelica 3 language features as well as additional modeling features for expressiveness and conciseness. It is implemented within the OpenModelica compiler itself. This means that the OpenModelica compiler supporting MetaModelica 2.0 is bootstrapped, i.e., it compiles itself. This work is strongly connected to the Modelica 4 effort announced by Modelica Association in September 2010, which includes moving language functionality into library packages to achieve more extensible and modular Modelica model compilers. The MetaModelica language features contribute to realizing that goal. The language features have been proven in large-scale usage in the packages within the OpenModelica compiler. However, much work still remains in improving the modularity and interface properties that are expected by library packages.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
淡定的乐安完成签到,获得积分10
3秒前
4秒前
jacksen发布了新的文献求助10
9秒前
奋斗不二完成签到,获得积分10
11秒前
36秒前
clhoxvpze完成签到 ,获得积分10
44秒前
蓝朱发布了新的文献求助10
44秒前
花痴的向卉完成签到,获得积分10
58秒前
大模型应助科研通管家采纳,获得10
1分钟前
炜大的我应助科研通管家采纳,获得10
1分钟前
1分钟前
1分钟前
OK发布了新的文献求助25
1分钟前
睡不醒发布了新的文献求助10
1分钟前
androabo完成签到,获得积分10
1分钟前
Lorain完成签到,获得积分10
1分钟前
天天天晴完成签到 ,获得积分10
1分钟前
完美的飞兰完成签到,获得积分10
1分钟前
执着访云完成签到,获得积分10
2分钟前
2分钟前
睡不醒发布了新的文献求助10
2分钟前
2分钟前
溟夔蝶魅完成签到,获得积分10
2分钟前
炜大的我应助科研通管家采纳,获得10
3分钟前
溟夔蝶魅发布了新的文献求助10
3分钟前
3分钟前
爱听歌的香萱完成签到,获得积分10
3分钟前
3分钟前
葱饼完成签到 ,获得积分10
3分钟前
睡不醒发布了新的文献求助30
3分钟前
宇儿发布了新的文献求助10
3分钟前
李健应助xingsi采纳,获得10
3分钟前
4分钟前
CipherSage应助宇儿采纳,获得10
4分钟前
xingsi发布了新的文献求助10
4分钟前
xingsi完成签到,获得积分10
4分钟前
4分钟前
追寻孤萍完成签到,获得积分10
4分钟前
fang发布了新的文献求助10
4分钟前
Aman发布了新的文献求助10
4分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 500
What is the Future of Psychotherapy in Digital Age? Technology, AI Bots, and Psychotherapy after Covid 444
Management and the Arts 310
Teaching Social and Emotional Learning in Physical Education 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7633901
求助须知:如何正确求助?哪些是违规求助? 9208004
关于积分的说明 19748159
捐赠科研通 7202357
什么是DOI,文献DOI怎么找? 3275015
关于科研通互助平台的介绍 2436932
邀请新用户注册赠送积分活动 2271858