锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91精品国产综合久久精品,99久久99这里只有免费的精品,国产成人精品久久http://www.shnenglu.com/diceidea/category/7046.htmlparserzh-cnWed, 03 Sep 2008 10:25:55 GMTWed, 03 Sep 2008 10:25:55 GMT60DFA鍜宭exical analysishttp://www.shnenglu.com/diceidea/archive/2008/05/24/50954.htmldiceideadiceideaSat, 24 May 2008 05:59:00 GMThttp://www.shnenglu.com/diceidea/archive/2008/05/24/50954.htmlhttp://www.shnenglu.com/diceidea/comments/50954.htmlhttp://www.shnenglu.com/diceidea/archive/2008/05/24/50954.html#Feedback0http://www.shnenglu.com/diceidea/comments/commentRss/50954.htmlhttp://www.shnenglu.com/diceidea/services/trackbacks/50954.html涓鏃︾粰鍑轟簡source program(涔熷氨鏄綘鎯沖鐞嗙殑character stream)鐨勪竴涓猵attern鐨勬鍒欒〃杈懼紡錛屽氨鍙互鏋勯犲搴旂殑NFA錛岀劧鍚庤漿鎹負(fù)DFA錛岃繖涓狣FA灝卞彲浠ョ敤鏉ュ鐞嗕綘鐨剆ource program, 灝嗛噷闈㈣兘澶焟atch榪欎釜pattern鐨刲exeme鍏ㄩ兘鎵懼嚭鏉ャ傛寜鐓ц繖鏍風(fēng)殑嫻佺▼錛屽浜庝竴縐嶇紪紼嬭璦錛屼笉綆℃槸甯哥敤鐨勮璦錛岃繕鏄剼鏈璦錛屽彧瑕佸鎵鏈夌殑pattern鏋勯燚FA錛屽氨鑳藉鍐欏嚭鑷繁鐨刲exical analyzer浜嗐?br>鏈変袱綃囧叧浜庢鍒欒〃杈懼紡鍒癉FA鐨勬枃绔犲啓鐨勫緢濂斤細(xì)
1.Writing own regular expression parser By Amer Gerzic鑻辨枃鐨?/a>
http://www.codeproject.com/KB/recipes/OwnRegExpressionsParser.aspx
鏈夋簮鐮?br>
2. 銆婃瀯閫犳鍒欒〃杈懼紡寮曟搸銆嬫柊椴滃嚭鐐夊暒錛?/a>涓枃鐨勶紝by vczh,鍗庡崡鐞嗗伐澶у
http://www.shnenglu.com/vczh/archive/2008/05/22/50763.html
闃呰瀹屼笂闈袱綃囨枃绔狅紝鍐欎釜鑳藉榪愯鐨刲exer灝變笉鎴愰棶棰樹簡銆?br>鍙﹀闄勪笂榫欎功錛圕ompilers, principles techniques and tools錛夐噷涓孌祎oken,pattern鍜宭exeme鏈鐨勫尯鍒細(xì)
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://www.shnenglu.com/diceidea/archive/2008/05/12/49623.htmldiceideadiceideaMon, 12 May 2008 03:50:00 GMThttp://www.shnenglu.com/diceidea/archive/2008/05/12/49623.htmlhttp://www.shnenglu.com/diceidea/comments/49623.htmlhttp://www.shnenglu.com/diceidea/archive/2008/05/12/49623.html#Feedback0http://www.shnenglu.com/diceidea/comments/commentRss/49623.htmlhttp://www.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 鍙戣〃璇勮
]]>
精品一二三区久久aaa片| 欧美性大战久久久久久| 亚洲va久久久噜噜噜久久狠狠| 人妻无码αv中文字幕久久琪琪布| 99久久精品免费看国产一区二区三区| 久久久亚洲AV波多野结衣| 国产精品99久久免费观看| 国产精品伦理久久久久久| 欧美激情精品久久久久久久| 日韩精品久久久久久久电影蜜臀 | 欧美伊人久久大香线蕉综合| 久久国产精品77777| 亚洲国产成人乱码精品女人久久久不卡 | 久久久久亚洲AV无码观看| 久久久精品人妻一区二区三区四 | 一本一道久久a久久精品综合| 久久99精品久久久久婷婷| 亚洲国产精品狼友中文久久久| 精品无码久久久久久午夜| 久久夜色精品国产| 久久国产精品久久| 久久天天躁狠狠躁夜夜avapp| 无夜精品久久久久久| 国产一区二区精品久久岳| 久久97精品久久久久久久不卡| 久久人人爽人人爽人人爽| 久久中文字幕无码专区| 精品久久久久久无码人妻蜜桃| 国产成年无码久久久久毛片| 综合人妻久久一区二区精品| 久久久无码精品亚洲日韩京东传媒| 久久久久久一区国产精品| 精品无码久久久久久国产| 99精品久久久久久久婷婷| 女人香蕉久久**毛片精品| 精品国产91久久久久久久| avtt天堂网久久精品| 国产高清国内精品福利99久久| 青青青伊人色综合久久| 久久996热精品xxxx| 午夜精品久久久内射近拍高清 |