Ilya Zakharevich on Tue, 24 Jan 2006 20:10:39 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Graphic support in CVS |
On Tue, Jan 24, 2006 at 10:18:39AM +0100, Karim Belabas wrote: > Actually, READL is (kind of) there also: > > (10:01) gp > default(readline) > %1 = 4 > A non-zero value says that readline is available (= compiled in) _and_ enabled. As the description shows, it is very different from READL. READL says when readline CAN be enabled. > Any amount of extra status information can easily be made available in this > way, e.g. 'have_emacs', 'have_texmacs', 'have_install', 'path_separator', > 'version', 'version_code'). There are no read-only defaults so far but I > see no compelling reason to avoid them. And version should be better kept in a vector... [2,2,12]... > It's also very easy to add something like > > #eval > { > ... arbitrary GP code ... > } > > to the gprc's language. Buf if the above 'defaults' were made available, I > think the whole concept of a 'gprc language' should be dumped, since > existing gprc's could be rewritten in GP. IMO, these default()s must be added before the stable release. Thanks, Ilya