* Menu
[[About:self:AboutPage.txt]] | [[Profile:file/southly/]] | [[まとめ:self:1163859357.txt]] | [[オリジナル:http://ninjinix.x0.com/rn/]] | [[xyzzy:lisp/]] | [[あんてな:listall]] | [[■:lisp]] | [[buzz:files/southly#buzz]]
- Scrapbook : NetBSDスタイルガイド
- Scrapbook : yunoの雑記帳wiki - gcc
- xyzzy lisp : format ~[
- xyzzy lisp : format ~$
- xyzzy : 宿題とか
- Scrapbook : CLOCC - the Common Lisp Open Code Collection
- Scrapbook : Bunkamura
- Scrapbook : The lispreader library
- Scrapbook : Lisp Language Implementations
- Scrapbook : Cプログラミングのメモ
- Scrapbook : Radium Software Development
- Scrapbook : Cusp, An Eclipse Lisp Plugin
- Scrapbook : よろずや
- Scrapbook : Lisp & CGI a tutorial for new programmers
- Scrapbook : nDiki: TortoiseSVN と svn+ssh (2004-07-26)
page 15 - << : 0 : 1 : 2 : 3 : 4 : 5 : 6 : 7 : 8 : 9 : 10 : 11 : 12 : 13 : 14 : 15 : 16 : 17 : 18 : 19 : 20 : 21 : 22 : 23 : 24 : 25 : 26 : 27 : 28 : 29 : 30 : 31 : 32 : 33 : 34 : 35 : 36 : 37 : 38 : >>
* Scrapbook : NetBSDスタイルガイド
BSDmag/200004/style.html
* Scrapbook : yunoの雑記帳wiki - gcc
* xyzzy lisp : format ~[
- 条件にしたがって候補から選択して出力
- ~] で範囲を終了
- ~; で候補の区切り
- ~:; でデフォルトの指定
- "[" 整数値によって選択
- ":[" 真偽値により二者択一
- "@[" non-nilのときのみ出力
- パラメータは"["のときのみ1つ
- 引数の数値よりも優先
(format nil "~[zero~;one~;two~:;many~]" 1) "one" (format nil "~[zero~;one~;two~:;many~]" 10) "many" (format nil "~1[zero~;one~;two~:;many~]" 10) "one" (format nil "~:[false~;true~]" nil) "false" (format nil "~:[false~;true~]" 'true) "true" (format nil "~@[~A~]" nil) "" (format nil "~@[~A~]" 'true) "true" ; こういうこともできるらしい (format nil "~#[zero~;one~;two~:;many~]" 10 10) "two"
* xyzzy lisp : format ~$
- 実数のドル表示
- "@$" 常に符号をつける
- ":$" 符号の位置が左端
- ":@$" 上記の組み合わせ
- パラメータは最大4つ
- 小数点以下の桁
- 整数部分の桁
- 幅
- 空きを埋める文字
(format nil "~10,4,30$" +123.45) " 0123.4500000000" (format nil "~10,4,30@$" +123.45) " +0123.4500000000" (format nil "~10,4,30:$" +123.45) " 0123.4500000000" (format nil "~10,4,30:@$" +123.45) "+ 0123.4500000000" (format nil "~10,4,30,'*$" +123.45) "***************0123.4500000000"
* xyzzy : 宿題とか
一応書きとめ。
- ライセンスとか。段階踏んでやる予定なので、今月末辺りご相談。
- C/C++用のユーティリティとか(出せるものができたらいいね位の気持ちで)
- xyzzyの本体に手を入れられたらいいね。
- DLLとかガンガン使っていけたらいいね。
- paren使っていないんですよで驚かれたとか
- Ctrl<=>CapsLockはしてませんで驚かれたとか
- 作者の人は意外と作ったLispを使っていない件とか
* Scrapbook : CLOCC - the Common Lisp Open Code Collection
http://clocc.sourceforge.net/