实现基于数据结构的语言
创建任何 DSL 都应该从定义需要解决的问题开始。这里,我们需要定义一个 DSL 库(有时也称为组合库,combinators library),用于二维图形,这是一个很明显的选择。这个示例演示如何用大量简单的基本图形构建出复杂的结构。在计算机屏幕上的图像本质上就是线条和多边形的集合,尽管显示出来的图形可能极其复杂。这个示例用四个模块表现:第一,清单 12-1,提供...
分类:
其他好文 时间:
2014-06-03 00:38:21
阅读次数:
420
android 在log中提示TimeOut Error后,应用程序弹出application
errorthe connection to the server was unsuccessful
的错误的处理方法:第一步找到项目中res/xml目录下的config.xml,把你的外网的域名地址添加...
分类:
移动开发 时间:
2014-06-02 22:24:37
阅读次数:
361
2014-05-31 BaoXinjian In Capgemini1. Repot
对象(1).数据模型对象查询、组、列、链接、用户参数(2).布局对象重复帧、帧、领域、样板、锚、(3).参数表单对象参数、字段、样板(4).PLSQL对象程序单元(5).触发器(6).外部的Library库2.
R...
分类:
其他好文 时间:
2014-06-02 20:58:07
阅读次数:
386
来自统计之都,感谢Ihavenothing(http://cos.name/cn/profile/81532)详情参考:http://cos.name/cn/topic/151358?replies=3#post-3025551
library(showtext)2 setEPS()3 postsc...
分类:
其他好文 时间:
2014-06-02 19:57:30
阅读次数:
213
VirtualBox 3.2.10 gives me the following error
message when booting Ubuntu 10.10:-iix4_smbus 0000.00.07.0: SMBus base address
uninitialized - upgrade ...
分类:
其他好文 时间:
2014-06-02 16:44:03
阅读次数:
234
ORA-09925Linux-x86_64Error:2:Nosuchfileordirectory
[javascript]viewplaincopy
DBCA***数据库所有实例后,本想用RMANduplicate方式克隆DB,因此在$ORACLE_BASE目录下创建了相关的目录admin/dupl/adump,admin/dupl/dpump
在使用sqlplus正常连接空闲实例,手贱却执行了start..
分类:
系统相关 时间:
2014-06-02 14:51:48
阅读次数:
410
2014-6-1 0:47:25 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the jav...
分类:
编程语言 时间:
2014-06-01 16:16:55
阅读次数:
484
静态链接库与动态链接库
静态链接库(static link library),也就是你经常看到的*.lib文件;动态链接库(Dynamic Link Library),也就是你经常看到的*.dll文件。如果你是初学者或者对静态库与动态库还没有概念,可以先将其理解为一种仓库,它提供给你一些可以直接拿来用的变量、函数或类,在仓库的发展历史中,经历了“无库-->静态库-->动态库”的过程。
...
分类:
其他好文 时间:
2014-06-01 15:58:22
阅读次数:
289
Caused by: java.sql.SQLException: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right s...
分类:
数据库 时间:
2014-06-01 11:31:29
阅读次数:
371
DVR_RDK编译报错
abnormal termination of /opt/dm8168/dvr_rdk/../ti_tools/cgt_dsp/cgt6x_7_3_5//bin/cmp6x
make[2]: *** [/opt/dm8168/dvr_rdk/../dvr_rdk/build/dvr_rdk/obj/ti816x-evm/c6xdsp/debug/MAIN_APP_c6xdsp_pe674.oe674] Error 1
make[1]: *** [apps] Error 2
m...
分类:
其他好文 时间:
2014-06-01 09:37:14
阅读次数:
204