计算机科学 > 程序设计语言
[提交于 2005年3月24日]
标题:Data-Structure Rewriting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We tackle the problem of data-structure rewriting including pointer redirections. We propose two basic rewrite steps: (i) Local Redirection and Replacement steps the aim of which is redirecting specific pointers determined by means of a pattern, as well as adding new information to an existing data ; and (ii) Global Redirection steps which are aimed to redirect all pointers targeting a node towards another one. We define these two rewriting steps following the double pushout approach. We define first the category of graphs we consider and then define rewrite rules as pairs of graph homomorphisms of the form "L <- K ->R". Unfortunately, inverse pushouts (complement pushouts) are not unique in our setting and pushouts do not always exist. Therefore, we define rewriting steps so that a rewrite rule can always be performed once a matching is found.
提交历史
来自:Rachid Echahed[v1] 2005年3月24日 星期四 09:55:42 UTC