本月博客排行
-
第1名
e_e -
第2名
yeluowuhen
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - kaizi1992
- wy_19921005
- vipbooks
- arpenker
- zysnba
- e_e
- wallimn
- ganxueyun
- Xeden
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- jh108020
- xpenxpen
- fantaxy025025
- 喧嚣求静
- kristy_yy
- javashop
- sunj
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- flashsing123
- xiaoxinye
- lyndon.lin
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- duanfei
- sgqt
- xiangjie88
- hudiemeng870329
- mft8899
- java_doom
- gaochunhu
- steven789654
- zw7534313
- silverend
- sichunli_030
- 深蓝传说
最新文章列表
Some Rules from wrting your own dsl with ruby
来自:http://blog.nofail.de/2010/02/writing-your-own-dsl-with-ruby/
Some Rules from wrting your own dsl with ruby
1. let the user choose how to use it
all implemented methods return the obj ...
<<Agile DSL Development in Ruby>> 笔记
pdf见:http://obiefernandez.com/presentations/obie_fernandez-agile_dsl_development_in_ruby.pdf
1. What is DSL
——designed for a specific domain
——captures jargon in executable form
— ...
ANTLR3 简介及示例
ANTLR3 简介及示例
ANTLR(pronounced
Antler) 是一个语言识别工具,Another
Tool forLanguage Recognition 的缩写。ANTLR由旧金山大学(University of San Francisco)的教授 Terence Parr 开发并维护的,其始于1989年,到了现在过了20多年,一直都是一个很活跃 ...
ubuntu下使用netbeans创建rails工程时出现 uninitialized constant Rake::DSL 错误的解决办法
出现 uninitialized constant Rake::DSL 时,不影响工程文件的正常生成,但是使用 rake 命令的时候则会报错 : db:migrate task not exist .
解决方案:
找到 RakeFile ,保证其满足下列格式:
require File.expand_path('../config/application', __FILE__)
require ...
A clojure DSL for system admin and deployment with many remote machines(转发)
1.What is clojure-control?
The idea came from node-control
.
Define clusters and tasks for system administration or code deployment, then execute them on one or many remote machines.
Clojure-c ...
构建自己的DSL之二 抓取文本处理
转载请标明出处:http://fuliang.iteye.com/blog/1122051
公司的蜘蛛抓取的内容一个记录是以TAB分割的各个字段的值,并且随着各种分类得分、正文静态得分策略的添加,版本不断的演变。每次做抽样、分析、分类语料等文本处理都需要写一些样板式的代码,并且得到wiki查找指定版本每个字段的位置。构建一个好的DSL来自动处理这件事情能够省去很多重复的操作,只需要关注要处理的事情 ...