Parrot虛擬機器

維基百科,自由的百科全書
(重新導向自Parrot
跳至導覽 跳至搜尋
Parrot虛擬機器
開發者Parrot基金會
目前版本8.1.0(2016年2月16日,​10年前​(2016-02-16[1]
原始碼庫
  • {{URL|example.com|可选的显示文本}}
Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
程式語言C語言
引擎
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    作業系統跨平台
    繼任MoarVM
    類型虛擬機器
    許可協定Artistic License 2.0
    網站{{URL|example.com|可选的显示文本}}Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)

    Parrot是一款已停止開發的基於暫存器架構的行程虛擬機器,旨在高效執行動態語言Parrot匯編語言Parrot中間表示(Parrot intermediate representation,PIR,一種中間語言)均可編譯為Parrot位元組碼並執行。Parrot屬於自由開源的軟件專案[2]

    Parrot最初由Perl社群發起,並在開源及自由軟件社群的協助下開發而成。因此,其設計重點在於與Perl的許可協定(Artistic License 2.0)保持相容;在多種系統平台上具備良好的可移植性;支援大多數現代處理器架構;具備較高的執行速度與較小的體積(約700KB,視平台而定);並具有足夠的靈活性,以應對Raku及其他現代動態語言的多樣化需求。

    2009年3月17日,Parrot發佈了首個穩定版本1.0,提供了可用於開發的穩定應用程式編程介面(API[3]。其最終版本為8.1.0,代號「Andean Parakeet」(安第斯鸚鵡)。2021年8月,Parrot宣佈正式停止維護——在其主要用途(Raku)上已被MoarVM取代,而在其他支持語言中也未能發展為主流虛擬機器[4]

    歷史[編輯]

    Parrot名字的來自一個愚人節的玩笑。2001年愚人節,歐萊禮張貼了一則新聞,宣佈一個名叫Parrot的程式語言整合了PerlPython[5][6]。後來這個名字被正式用在一個由Perl開發者發起的計劃,旨在創造一個能夠支援Perl 6和其他程式語言的虛擬機器環境。

    參考文獻[編輯]

    1. ^ New supported release 8.1.0 "Andean Parakeet". Parrot Foundation. 2016-02-16 [2016-09-26]. 
    2. ^ Parrot Contributor License Agreement 1.0 (PDF). Parrot Foundation. [2009-03-18]. (原始內容 (PDF)存檔於2010-08-16). 
    3. ^ Parrot Roadmap. Parrot Foundation. 2008-11-20 [2008-11-20]. (原始內容存檔於2010-04-15). 
    4. ^ Inactive Parrot. www.parrot.org. 
    5. ^ The Story Behind the Parrot Prank. O'Reilly Media. [2025-03-29]. (原始內容存檔於2014-03-01). 
    6. ^ Programming Parrot. perl.com. [2015-02-26]. (原始內容存檔於2010-07-18). 

    外部連結[編輯]