首页> 外文会议>International lisp conference 2007 >User-extensible sequences in Common Lisp
【24h】

User-extensible sequences in Common Lisp

机译:Common Lisp中的用户可扩展序列

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

摘要

Common Lisp is often touted as the programmable programming language, yet it sometimes places large barriers in the way, with the best of intentions. One of those barriers is a limit to the extensibility by the user of certain core language constructs, such as the ability to define subclasses of built in classes usable with standard functions: even where this could be achievable with minimal penalties. We introduce the notion of user-extensible sequences, describing a protocol which implementations of such classes should follow. We show examples of their use, and discuss the issues observed in providing support for this protocol in a Common Lisp, including ensuring that there is no performance impact from its inclusion.
机译:Common Lisp通常被吹捧为可编程编程语言,但有时却会出于最好的意图而在路上设置很大的障碍。这些障碍之一是限制了用户某些核心语言结构的可扩展性,例如,定义可与标准功能一起使用的内置类的子类的能力:即使可以以最小的代价实现。我们介绍了用户可扩展序列的概念,描述了此类类的实现应遵循的协议。我们将展示其用法示例,并讨论在Common Lisp中为该协议提供支持时所观察到的问题,包括确保不因加入该协议而对性能产生影响。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号