Re: [Lambdamoo-server] GammaMOO

Luke-Jr <[email protected]> Wed, 14 Apr 2004 17:46:12 +0000
Newsgroups gmane.comp.lang.moo.general
Message-ID <[email protected]>
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 April 2004 01:50 am, H. Peter Anvin wrote:
> Actually, what would *really* make more sense would be to have ucs() or
> ord() return a list corresponding to the characters of the string.
However, this would possibly break compatibility with prior asc() and ord()=
=20
builtin function implementations. Sounds like a good idea if a compatible=20
solution can be made, though.
> Similarly, chr() should be able to take an arbitrary number of integers.
I'll add this to my TODO-list, since it can be done without breaking=20
compatibility...
>
> I have some patches you might find useful at:
> ftp://ftp.vas.nu/pub/vas/moo/moo-1.8.1-vas.tar.gz
The bifunc to render time to a string for non-default timezones would be ni=
ce,=20
but I think it'd make more sense to just move ctime-style functions within=
=20
the core. The current CVS of GammaMOO will allow undefined builtin function=
s=20
to be used within verbs, so ftime could probably be implemented in-core als=
o.
The additional number bifuncs might be useful, so I might include them into=
=20
GammaMOO.
Without looking into too much details, your ftime bifunc appears to do the=
=20
same as us_time.
The German(?) support seems too much of a hack to make sense... If=20
multilanguage support is added, it should probably be based on a setting an=
d=20
not allow mixing of languages quite so much. I think it is also using ASCII=
,=20
while GammaMOO uses UTF-8 to store strings, but I doubt that'd be much=20
trouble to convert...
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAfXjoZl/BHdU+lYMRAq1fAKCR9vdj+NjOJTXG7iIJbmd/zobtKACcCjkW
YsaOHxqY5jvTU8aYbsee44M=3D
=3DbAez
=2D----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click