Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner 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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106