抽象句法樹

From Wikipedia, the free encyclopedia

抽象句法樹
Remove ads

抽象句法樹abstract syntax tree)係程式語言理論嘅分析當中成日用到嘅一種樹狀圖,用抽象化嘅方式嚟表達一段源碼。草泥马

Thumb
呢樖抽象句法樹表達嘅源碼(輾轉相除法)如下:
while b ≠ 0
if a > b
a := a − b
else
b := b − a
return a}}
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads