锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久国产精品,97久久国产亚洲精品超碰热,久久午夜福利电影http://m.shnenglu.com/diceidea/category/7046.htmlparserzh-cnWed, 03 Sep 2008 10:25:55 GMTWed, 03 Sep 2008 10:25:55 GMT60DFA鍜宭exical analysishttp://m.shnenglu.com/diceidea/archive/2008/05/24/50954.htmldiceideadiceideaSat, 24 May 2008 05:59:00 GMThttp://m.shnenglu.com/diceidea/archive/2008/05/24/50954.htmlhttp://m.shnenglu.com/diceidea/comments/50954.htmlhttp://m.shnenglu.com/diceidea/archive/2008/05/24/50954.html#Feedback0http://m.shnenglu.com/diceidea/comments/commentRss/50954.htmlhttp://m.shnenglu.com/diceidea/services/trackbacks/50954.html涓鏃︾粰鍑轟簡source program(涔熷氨鏄綘鎯沖鐞嗙殑character stream)鐨勪竴涓猵attern鐨勬鍒欒〃杈懼紡錛屽氨鍙互鏋勯犲搴旂殑NFA錛岀劧鍚庤漿鎹負DFA錛岃繖涓狣FA灝卞彲浠ョ敤鏉ュ鐞嗕綘鐨剆ource program, 灝嗛噷闈㈣兘澶焟atch榪欎釜pattern鐨刲exeme鍏ㄩ兘鎵懼嚭鏉ャ傛寜鐓ц繖鏍風殑嫻佺▼錛屽浜庝竴縐嶇紪紼嬭璦錛屼笉綆℃槸甯哥敤鐨勮璦錛岃繕鏄剼鏈璦錛屽彧瑕佸鎵鏈夌殑pattern鏋勯燚FA錛屽氨鑳藉鍐欏嚭鑷繁鐨刲exical analyzer浜嗐?br>鏈変袱綃囧叧浜庢鍒欒〃杈懼紡鍒癉FA鐨勬枃绔犲啓鐨勫緢濂斤細
1.Writing own regular expression parser By Amer Gerzic鑻辨枃鐨?/a>
http://www.codeproject.com/KB/recipes/OwnRegExpressionsParser.aspx
鏈夋簮鐮?br>
2. 銆婃瀯閫犳鍒欒〃杈懼紡寮曟搸銆嬫柊椴滃嚭鐐夊暒錛?/a>涓枃鐨勶紝by vczh,鍗庡崡鐞嗗伐澶у
http://m.shnenglu.com/vczh/archive/2008/05/22/50763.html
闃呰瀹屼笂闈袱綃囨枃绔狅紝鍐欎釜鑳藉榪愯鐨刲exer灝變笉鎴愰棶棰樹簡銆?br>鍙﹀闄勪笂榫欎功錛圕ompilers, principles techniques and tools錛夐噷涓孌祎oken,pattern鍜宭exeme鏈鐨勫尯鍒細
1. A t o k e n  is  a  pair  consisting  of  a  token  name  and  an optional attribute
value.   The  token  name  is  an  abstract  symbol  representing  a  kind  of
lexical unit(lexeme), e.g., a  particular keyword, or a sequence of  input  characters
denoting an identifier.  The token  names are the input  symbols that the
parser  processes.  In what  follows, we  shall generally write the name of  a
token  in boldface.  We  will often refer to a token  by  its token name.
2. A pattern is a description of the form that the lexemes of  a token may take.
In  the case of  a  keyword as  a token,  the pattern  is just  the sequence of
characters that form the keyword.  For identifiers and some other tokens,
the pattern is a more complex structure that is matched by many strings.
3. A lexeme is a sequence of  characters in the source program that matches
the  pattern  for  a  token  and  is  identified  by  the  lexical  analyzer  as  an
instance of  that token.
 notes:
1. more than  one lexeme  can  match  a  pattern
2. 鐪嬬湅example 3.1




diceidea 2008-05-24 13:59 鍙戣〃璇勮
]]>
dev log(1)http://m.shnenglu.com/diceidea/archive/2008/05/12/49623.htmldiceideadiceideaMon, 12 May 2008 03:50:00 GMThttp://m.shnenglu.com/diceidea/archive/2008/05/12/49623.htmlhttp://m.shnenglu.com/diceidea/comments/49623.htmlhttp://m.shnenglu.com/diceidea/archive/2008/05/12/49623.html#Feedback0http://m.shnenglu.com/diceidea/comments/commentRss/49623.htmlhttp://m.shnenglu.com/diceidea/services/trackbacks/49623.htmlSummary for last week:

1. Understand the basic of lexical parse and syntax parse, know what they are used for separately. The former with regular expression to recognize tokens, the latter using operator precedence/recursive descent to build a syntax tree for continuing step, e.g, computing the math expression. The former is considered on character, while the latter is on token.

2. Have a superficial knowledge in Automate, know how to build a FA for specific regular expression and reduce e-FA to FA, if the result is NFA, then convert to DFA

3. I find rolling dice can reduce to a SM.

 

Todo in coming week:

1. Study the internal lexical and syntax parts of muParser.

2. Write code for my own math expression parser.

3. Add 'If' and 'while' to the parser using my own way, then read more in Parsing related Docs for better solution.

 

Time stamp:

1:00 May.12.2008



diceidea 2008-05-12 11:50 鍙戣〃璇勮
]]>
久久久久亚洲精品天堂久久久久久 | 日韩久久久久久中文人妻| 久久综合亚洲鲁鲁五月天| 久久精品青青草原伊人| 日韩精品久久久肉伦网站| 久久精品国内一区二区三区| 91精品国产91久久久久久青草| 香蕉久久AⅤ一区二区三区| 亚洲综合伊人久久综合| 国产精品18久久久久久vr| 天天影视色香欲综合久久| 久久国产精品99国产精| 久久久久久国产a免费观看不卡| 久久人人爽人人爽人人片AV东京热| 久久综合丁香激情久久| 一本久久精品一区二区| 久久夜色tv网站| 久久久亚洲欧洲日产国码aⅴ| 久久久国产精品| 99久久国产热无码精品免费| 久久婷婷午色综合夜啪| 久久国产影院| 国产成人精品综合久久久| 久久久久人妻精品一区| 欧美亚洲国产精品久久高清| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 热re99久久精品国产99热| 亚洲欧美成人综合久久久| 欧美久久精品一级c片片| 亚洲精品无码久久千人斩| 欧洲性大片xxxxx久久久| 一本伊大人香蕉久久网手机| 久久ww精品w免费人成| 日韩久久久久久中文人妻| 久久九九兔免费精品6| 久久婷婷色香五月综合激情| 国产日韩久久免费影院| 婷婷综合久久狠狠色99h| 无码人妻久久一区二区三区| 亚洲伊人久久综合中文成人网| 久久成人精品|