自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(44)
  • 资源 (2)
  • 收藏
  • 关注

原创 boost.spirit用户手册翻译(35):重构分析器

Refactoring Parsers重构分析器There are three types of Refactoring Parsers implemented right now, which help to abstract common parser refactoring tasks. Parser refactoring means, th

2008-02-05 10:51:00 888

原创 boost.spirit用户手册翻译(36):正则表达式分析器

Regular Expression Parser正则表达式分析器Regular expressions are a form of pattern-matching that are often used in text processing. Many users will be familiar with the usage of regular

2008-02-05 10:51:00 1857

原创 boost.spirit用户手册翻译(37):范围锁

Scoped Lock范围锁scoped_lock_dThe scoped_lock_d directive constructs a parser that locks a mutex during the attempt to match the contained parser.scoped_lock_d定向器产生一个在尝试匹配所包含的分析器

2008-02-05 10:51:00 894

原创 boost.spirit用户手册翻译(34):仿函数分析器

Functor Parser仿函数分析器The simplest way to write your hand coded parser that works well with the rest of the Spirit library is to simply write a functor parser.使得你所写的代码能和Spirit其他部

2008-02-01 10:35:00 770

原创 boost.spirit用户手册翻译(33):列表分析器

List Parsers列表分析器List Parsers are generated by the special predefined parser generator object list_p, which generates parsers recognizing list structures of the type列表分析器生成自特殊

2008-02-01 10:23:00 871

原创 boost.spirit用户手册翻译(32):片段分析器

Confix Parsers片段分析器Confix Parsers 片段分析器Confix Parsers recognize a sequence out of three independent elements: an opening, an expression and a closing. A simple example is a C

2008-01-25 16:45:00 973

原创 boost.spirit用户手册翻译(31):字符集

Character Sets字符集The character set chset matches a set of characters over a finite range bounded by the limits of its template parameter CharT. This class is an optimization of

2008-01-22 23:07:00 1119

原创 boost.sprit用户手册翻译(30):循环

Loops循环So far we have introduced a couple of EBNF operators that deal with looping. We have the + positive operator, which matches the preceding symbol one (1) or more times, as

2008-01-18 15:43:00 1126

原创 boost.spirit用户手册翻译(29):转义字符分析器

Escape Character Parser转义字符分析器The Escape Character Parser is a utility parser, which parses escaped character sequences used in C/C++, LEX or Perl regular expressions. Combined

2008-01-17 09:02:00 1389

原创 boost.spirit用户手册翻译(28):跳转分析器

The Switch Parser跳转分析器Switch parsers may be used to simplify certain alternation constructs. Consider the following code:跳转分析器可用来简化选择的构建。考虑下面的代码: rule rule_overall =

2008-01-15 16:36:00 804

原创 boost.spirit用户手册翻译(27):选择分析器

The Select Parser选择分析器Select parsers may be used to identify a single parser from a given list of parsers, which successfully recognizes the current input sequence. Example:选择分

2008-01-14 14:40:00 769

原创 boost.spirit用户手册翻译(26):懒惰分析器

The Lazy Parser懒惰分析器Closures are cool. It allows us to inject stack based local variables anywhere in our parse descent hierarchy. Typically, we store temporary variables, gener

2008-01-14 14:24:00 947

翻译 boost.spirit用户手册翻译(25):可储存规则

  Storable Rules 可保存规则  

2008-01-08 14:10:00 1115

翻译 boost.spirit用户手册翻译(24):动态分析器

  Dynamic Parsers 动态分析器  

2008-01-07 13:19:00 1362

原创 boost.Spirit用户手册翻译(23):闭包

Closures闭包Overview总括Using phoenix, in the previous chapter, weve seen how we can get data from our parsers using var:在上一章中,使用Phoenix,我们已经看到了如何用var从分析器中取得数据:int i; integer

2008-01-04 16:08:00 1020

原创 boost.spirit用户手册翻译(22):Phoenix

PhoenixThe preceding chapter introduced Phoenix as a means to implementing your semantic actions. We shall look a little bit more into this important library with focus on how you

2008-01-02 22:59:00 1044

翻译 boost.spirit用户手册翻译(21):函数式

  Functional 函数式  

2007-12-26 09:38:00 1773

翻译 Boost.Spirit用户手册翻译(20):参数化分析器

Parametric Parsers 参数化分析器  

2007-12-07 11:14:00 916

翻译 Boost.Spirit用户手册翻译(19):预定义动作器

  Predefined Actors预定义动作器 Actors动作器The f

2007-12-05 13:40:00 1749 1

原创 翻译爪印

到目前为止,Spirit的用户手册的第一部分core翻译完成了,18节,三分之一弱。这个效率是相当低的,其实翻译一节的时间并不长,平均也就半个小时。但CSDN的blog实在太能打击人了,点击“发表”之后ie给出一个找不到服务器的的情况可以说是不计其数。还有n次无法刷出编辑界面的情况。不过我不会放弃的,一定会完整的翻译整个用户手册。

2007-12-05 11:44:00 1068

翻译 Boost.Spirit用户手册翻译(18):深入:语境

  In-depth: The Parser Context 深入:分析器语境  

2007-09-28 15:57:00 1266

原创 Boost.Spirit用户手册翻译(17):深入:扫描器

  In-depth: The Scanner 深入:扫描器  

2007-09-28 15:55:00 1308

原创 Boost.Spirit用户手册翻译(16):深入:分析器

  In-depth: The Parsers 深入:分析器  

2007-09-28 15:51:00 1522

翻译 Boost.Spirit用户手册翻译(15):语义动作

  Semantic Actions 语义动作  

2007-04-06 16:26:00 1243

原创 Boost.Spirit用户手册翻译(14):子规则

  Subrules子规则   Spirit is implemented using expression templates. This is a very powerful technique. Along with its power comes some complications. We almost take for granted that when we w

2007-04-06 16:24:00 1027

翻译 Boost.Spirit用户手册翻译(13):语法

  The Grammar语法   The gramma

2007-04-06 16:23:00 1660

翻译 Boost.Spirit用户手册翻译(12):扫描器与分析

  The Scanner and Parsing 扫描器与分析   

2007-04-06 16:22:00 1834

翻译 Boost.Spirit用户手册翻译(11):定向器

 

2007-04-06 16:20:00 1602 7

翻译 Boost.Spirit用户手册翻译(10):空串

    Epsilon 空串  

2007-04-06 16:18:00 1393

翻译 Boost.Spirit用户手册翻译(9):规则

  The Rule规则   The rule is a p

2007-04-06 16:16:00 1770

翻译 Boost.Spirit用户手册翻译(8):数值

Numerics数值  

2007-04-06 16:14:00 1510

翻译 Boost.Spirit用户手册翻译(7):操作符

Operators操作符  

2007-04-06 16:11:00 1525

翻译 Boost.Spirit用户手册翻译(6):元素

  Primitives 元素   The framework

2007-04-04 23:40:00 1979 1

翻译 boost.spirit用户手册翻译(5):组织结构

  Organization 组织结构   The frame

2007-04-04 10:51:00 1736

翻译 boost.spirit用户手册翻译(4):基本概念

  Basic Concepts 基本概念:   Th

2007-03-29 15:53:00 3212

翻译 boost.spirit用户手册翻译(3):入门

Why would you want to use Spirit? 为什么使用Spirit?Spirit is designed to be a practical parsing tool. At the very least, the ability to generate a fully-working parser from a formal EBNF specification

2007-03-20 22:47:00 2610 1

翻译 boost.spirit用户手册翻译(2) 简介

Spirit is an object-oriented recursive-descent parser generator framework implemented using template meta-programming techniques. Expression templates allow us to approximate the syntax of Extended Ba

2007-03-20 13:01:00 1742

翻译 boost.Spirit用户手册(1):前言

 "Examples of designs that meet most of the criteria for "goodness" (easy to understand, flexible, efficient) are a recursive-descent parser, which is traditional procedural code. Another example is t

2007-03-20 11:24:00 9223 1

原创 boost.spirit用户手册翻译(0)

换了一份工作,没有那么忙了,正好可以拿来翻译一下这个文档了。我的英文水平不怎的,翻译这个的目的一个是希望能把这个优秀而且极为优美的库介绍给更多的人,也同时能够提高自己的英文水平,翻译的文本肯定有很多谬误,希望各位能够指正。在翻译中,我会首先列出一段英文原文,下面跟着译文,对于原文吃不准,不知如何翻译的地方,都会在译文中加以说明,可能会给阅读带来不少麻烦,还请多多包涵。 

2007-03-19 00:06:00 1285

原创 小小的感慨,基础知识的重要性

今天帮同事调程序,优化了一个SQL语句。直接执行这个SQL语句,12个小时出不来结果。分析了一下子,这个sql语句是三个表自然连接。然而最大的一张表,有32万条记录,第二张表有三千条,第三张有32条。于是自然连接的结果的数量级,至少在10^9以上,难怪12个小时没有结果。经过优化以后,不到1秒就有结果了。其实这个问题,只要对关系代数有最基本的了解,就可以避免了。可是写这个语句的同事,显然没有了解过

2006-12-07 22:31:00 1708

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除