討論串[問題] 引用直譯語言的parser?
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓3(3推 0噓 1→)留言4則,0人參與, 最新作者dozer時間18年前 (2007/02/04 15:37), 編輯資訊
2
0
0
內容預覽:
比如說 我想要在一個類似resource file裡面給expression. e.g.. [resource.rc]. alpha = foo. beta = alpha*10+300. EOF. 我希望我的程式在讀這個input的時候. 可以evaluate這個expression. 也就是be
(還有102個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者tasuka (Tasuka)時間18年前 (2007/03/09 12:23), 編輯資訊
0
0
0
內容預覽:
How about regex.h , it is regular expression parser inside the C/C++. also you can use pcre library, it is perl regular expression in C/C++. --. 發信站

推噓2(2推 0噓 5→)留言7則,0人參與, 最新作者dozer (piercing buddy?)時間16年前 (2009/01/09 16:22), 編輯資訊
0
0
2
內容預覽:
自己回。. 現在是用embedded Python,非常的簡單好用!!!. Python的C API非常完整(如果你用的是C Python,整個interpreter. 本來就是用C寫的,對C的支援度當然好)之前有試著自己用Flex/Bison. 寫parser,雖然寫的出來,但改起來真的很花時間;
(還有389個字)
首頁
上一頁
1
下一頁
尾頁