-- 嘩啦啦的大雨 --
最近在看書時, 發現了一個新的程式語言" Fornt ", 我對它相當好奇, 因為接觸資訊這麼多年, 卻從沒聽過或看過這麼程式語言.
當下, 急 call 了 Google 大神出馬來幫我解決疑惑.
原來這是個相當有歷史的語言了, 它的命名也是因為當時的創造者認為它是第四代的語言(跟我們現在許多的計算機書中定義不太一樣), 它有許多的優點如編寫簡單-直譯快速等等.
長久以來它也有一群固定的粉絲在支持著, 在台灣也有人在推廣甚至還幫他做了中文化的改寫, 相當有心, 不過畢竟不是顯學啦, 沒聽過也是應該的.
我這程式白痴稍稍看了一下他的語法, 覺得還滿有趣的, 它的寫法跟我們現今一般的程式語言大逕相異, 邊寫還要邊在心中想著堆疊的運作, 相當奇特.
它現在的用途有人把它定位在編寫晶片的韌體上( 實際上還可以做更多事 ), 電子/電機相關類群的人或許可以參考一下拉, 就當是增廣見聞吧!
Forth 同好會 對它的簡介 :
Forth is a stack-based, extensible language without type-checking. It is probably best known for its "reverse Polish" (postfix) arithmetic notation, familiar to users of Hewlett-Packard calculators. Forth is a real-time programming language originally developed to control telescopes. Forth has many unique features and applications:
- Forth can compile itself into a new compiler!
- Reverse-polish coding.
- Edit time error checking and compiling (similiar to BASIC).
- Extremely efficient thread based language.
- Can be used to debug itself!
- Extensible, thus can become what ever you need it to be.
- Many freeware implementations are available.
- Many commercial applications: language translators, animation (movies, DisneyLand), hard disk controllers.
台灣推廣組織 -- 易符學苑
網頁電子書 -- Thinking Forth