Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
226
|
第五章
ch05.indd 226 2014/4/2 上午 06:13:35
5.11 實作語法分析器(Parser)與文法
|
227
當然,這種方式與 XSLT 有顯著的差異。例如,於 XSLT 中操作 XML 樹時,可向上遊
歷母節點,也可以向下遊歷子節點,但這卻不適用於 Mathematica XML 表示方式,
「延伸資訊」所列的教學文件提供類似差異性的處理方法。[Page-226]
延伸資訊
Mathematica
XML/tutorial/TransformingXML
版:
http://bit.ly/4tS1Ce
中,有一節在比較 Mathematica XSLT,想更深入了解的讀者可參考。
XSLT 的相關資訊請參考 XSL Working Group 的網站:
http://bit.ly/1fJsB
[Page-227]
5.11 實作語法分析器(Parser)與文法
問題點
你想在 Mathematica 中實作語法分析器。
解決方案
最易於 Mathematica 實作的語法分析器為遞迴下降分析器(recursive descent parser)。
先, 構。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106