计算机科学 > 程序设计语言
[提交于 2021年3月8日]
标题:Translating declarative control elements to imperative using 'l-value redefinition graphs'
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We focus on control constructs that allow programmers define actions to be performed when respective conditions are met without requiring the explicit evaluation and testing of conditions as part of an imperative algorithm. Such elements are commonly referred as declarative, not theoretically related to declarative languages. We introduce declarative constructs in the C++ language, presenting the translation method to standard C++. The innovative feature of our method is the accommodation of l-values involving arbitrary pointer / array expressions and objects, supporting immediate runtime evaluation upon content update even if such l-values bind to variant storage locations at runtime. To accomplish this we define 'l-value redefinition graphs', capturing storage binding dependencies among variables, being the floor-plan of our code generation and runtime management approach.
提交历史
来自:Anthony Savidis[v1] 2021年3月8日 星期一 00:00:00 UTC