[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: REPOST: kspread formula names
From:       Thomas Zander <zander () planescape ! com>
Date:       2002-02-11 20:31:03
[Download RAW message or body]

On Mon, Feb 11, 2002 at 07:29:06PM +0100, Werner Trobin wrote:
> John Dailey wrote:
> > 
> > > Please subscribe or check lists.kde.org for emails, we don't cc all email
> > > :)
> > 
> > hmmm....I am subscribed to the list -- just no one answered that question  :-)
> > 
> > Werner had replied and said:
> > > I don't know whether that's a good idea. K(O)Script was designed as
> > > programming language, which is case sensitive (like C, C++,...). The
> > > "primitives" of that language, like if and so on also are lowercase
> > > and I think it should remain that way.
> > 
> > and so I asked if there was any particular reason that it couldn't be a
> > programming language with case insensative formula/function names.  I don't
> > see any reason why that wouldn't be ok, but I don't know what else the
> > koscript is used for besides KSpread.
> 
> Hi!
> 
> Sorry that I didn't say it more explicitly:
> KoScript is a stripped down version of KScript (because of
> security concerns). KScript is a "full" programming language
> (more or less) and looks like mixture of C++, Python, and Perl.
> We use KoScript only for KSpread functions, as far as I can
> tell.
> 
> Due to being a C++, Pyhton, Perl lookalike it's case sensitive,
> and the implementation of course depends on that (e.g. for
> symbol lookup). If you would want to make it case insensitive
> you'd have to rewrite parts of the interpreter (...or at least
> mess with the parser that it converts everything except string
> literals to lowercase. I consider this a hack, though).
> 
> So to cut a long story short: I doubt that this is a good idea.

Repeating in simple language;
you asked to change a very fundamental thing in the scripting language, this
can not be done without breaking a LOT and causing a lot of work, so this is 
not going to happen. (At least not without someone volenteering to do all the 
hard work.)

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new

[Attachment #3 (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic