Programming

[pugs] first contribution to it

2005/03/02
By

Pugs 很好玩,尤其在它還不是很成熟的時候就加入開發。這種感覺好像在玩美少女夢工廠,而這是加入之後的第一個 commit log,紀念一下。 -ok(all((4|5|6) + 3) == one(7|8|9), "all elements in junction are incremented"); +ok((all((4|5|6) + 3) == one(7|8|9)), "all elements in junction are incremented"); +ok((any(1..6) == one(1|2|3|4|5|6)), "any elements will match via junction");

Read more »

[Perl6] Pugs, Hello World

2005/02/25
By

嗯,讓我們開始迎接 Perl6 的來臨,首先來寫個 Hello World 吧,這是我的第一隻 Pugs 程式: #!perl6 use v6; print "Hello World!n"; 除了前兩行之外,看不出來有什麼不一樣對吧? 再來一個修改版 :p #!perl6 use v6; say "Hello World!"; "Hello World!".say; 有趣吧!

Read more »