首页> 外文学位 >Grammatical programming: An algebraic approach to the description of design spaces
【24h】

Grammatical programming: An algebraic approach to the description of design spaces

机译:语法编程:一种描述设计空间的代数方法

获取原文
获取原文并翻译 | 示例

摘要

The intuitiveness of spatial grammars makes them an attractive method of describing spaces of design. But grammars suffer from several inadequacies that limit their usefulness in design practice: (1) they cannot describe spaces of parametric, constrained designs, (2) they provide no control mechanisms for sequencing sets of rules, (3) they provide no "subroutines" for dealing with complexity, and (4) they do not accommodate transformation mechanisms other than the rewrite rule.;All of these inadequacies may be remedied by embedding grammars in a larger framework of nondeterministic functional programming, a paradigm we call "grammatical programming." In grammatical programs, rewrite rules are obtained from arbitrary nondeterministic functions by means of a "rewrite closure" operator. Both rules and the designs they operate upon may be parametric and have attached constraints, permitting grammatical programs to describe spaces of parametric, constrained designs. Rewrite rules, and more generally, nondeterministic functions, are combined into compound functions by means of the operators of a control algebra, which provides functional composition, union, iteration, and a type of negation called "failure." The resulting modularity permits design space descriptions to be constructed, tested, and debugged piecewise, and to draw upon libraries of standard, debugged grammatical components.;We begin this dissertation with an informal introduction to grammatical programming. We then give a formal, implementation-independent semantics of grammatical programs similar to the semantics of stratified logic programs. We discuss the implementation of a prototype compiler/interpreter and present case studies of the use of the prototype in describing spaces of rectangular dissections and a style of early Gothic traceries. We conclude with a discussion of lessons learned from the case studies and an agenda of further research necessary to make grammatical programming a useful tool in design practice.
机译:空间语法的直观性使其成为描述设计空间的一种有吸引力的方法。但是语法存在一些不足之处,这些不足之处限制了它们在设计实践中的用途:(1)它们无法描述参数化约束设计的空间,(2)它们不提供对规则集进行排序的控制机制,(3)它们不提供“子例程” (4)除重写规则外,它们不适应转换机制。所有这些不足之处都可以通过将语法嵌入更大的非确定性函数式编程框架(我们称为“语法化编程”范式)中来解决。在语法程序中,重写规则是通过“重写闭包”运算符从任意不确定性函数中获得的。规则及其所依据的设计都可以是参数化的,并且具有附加的约束,从而允许语法程序描述参数化,受约束的设计空间。通过控制代数的运算符,重写规则(通常是不确定性函数)被组合为复合函数,该控制代数提供功能组合,并集,迭代和一种称为“故障”的求反。最终的模块化允许对设计空间描述进行分段构建,测试和调试,并利用标准的经过调试的语法组件库。然后,我们给出语法程序的形式化,独立于实现的语义,类似于分层逻辑程序的语义。我们讨论了原型编译器/解释器的实现,并讨论了在描述矩形解剖区域和早期哥特式窗饰样式时使用原型的案例研究。最后,我们讨论了从案例研究中汲取的经验教训,并提出了进一步研究的议程,以使语法编程成为设计实践中的有用工具。

著录项

  • 作者

    Carlson, Christopher.;

  • 作者单位

    Carnegie Mellon University.;

  • 授予单位 Carnegie Mellon University.;
  • 学科 Architecture.;Computer science.
  • 学位 Ph.D.
  • 年度 1993
  • 页码 166 p.
  • 总页数 166
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号