我將如何去增加一個變量,這就是a=0; a++;雞? 在Common Lisp的我會做到這一點使用incf像這樣: (setf a 0) (incf a) (print a)
;=> 0
;=> 1
;=> 1
;=> 1
但雞的方案似乎並不具有incf功能/宏,我已經使用apropos啄蛋嘗試,但迄今爲止這一切都沒有幫助。 在C,我會增加變量,像這樣: int a = 0;
我會如何去獲取雞計劃中的系統命令的輸出? 這裏是我怎麼做我通常做在NewLISP: (nth 0 (exec "<COMMAND>"))
;; the `(nth 0...` is just there 'cause I only care about the first element in
;; the list returned by `exec`
試圖安裝並運行Spock(擴展名爲ChickenScheme)。 起初,我甚至不知道這取決於ChickenScheme框架,但我設法安裝和運行ChickenScheme $ Chicken
(c) 2008-2013, The Chicken Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.8.0.1 (stability/4.8.0)