[前][次][番号順一覧][スレッド一覧][生データ]

langsmith:72

From: Takuo Yonezawa <takuo aya.or.jp>
Date: Mon, 5 Jul 2004 12:36:19 +0900
Subject: [langsmith:72] Re: 設定ファイル用の言語

ると です。
設定ファイルとしてのS式が読みづらいのは keyとvalueの区切りが無いからでは
ないでしょうか。alist形式なら'.'が入りますけど。
字数として長くなる場合どこからどこまでがkeyでvalueなのか一目見ただけじゃ
判別できないように思えます。

Ruby:
 {:width => 100}
とか
object.set_width(100)

Perl
{width => 100}
とか
set_width($object, 100)
とか
$object->set_width(100)

Lisp
'((width 100))
とか
(set-width object 100)
とか
'((width . 100))

XML
<width>100</width>
とか
<object width="100"/>

Windows の.ini
width: 100

bash等
export WIDTH=100

-- 
ると
takuo aya.or.jp

--
ML: langsmith quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

        63 2004-06-30 10:12 [shugo ruby-lang.org ] No route to host/stream closed          
        64 2004-06-30 10:21 ┗[shugo ruby-lang.org ] 設定ファイル用の言語                  
        68 2004-07-04 03:30  ┗[naruse airemix.com  ]                                     
        70 2004-07-05 01:01   ┗[ko1 atdot.net       ]                                   
        71 2004-07-05 10:07    ┗[matz ruby-lang.org  ]                                 
->      72 2004-07-05 12:36     ┣[takuo aya.or.jp     ]                               
        73 2004-07-06 12:11     ┗[ko1 atdot.net       ]