On Fri, 10 Mar 2000, Moshe Zadka wrote:
> On Thu, 9 Mar 2000, Omer Zak wrote:
>
> > I think this is the first thing you should support. Especially as it is
> > not that hard and I believe that you'll get cooperation from Chen Shapira.
>
> And, if he chooses either Tcl or Python, some support from me.
> (Ducking and hiding from those Perl addicts)
> (I believe most know *my* personal preferences)
Fury! Fury and Thunder! Fury and Thunder and Lightning!!!
I swear by Perl and would smite you by Lightning bolt!!!!!!
:-)
> > All you need is to ensure that any action which can be initiated by the
> > user (and probably also some internal actions) - is implemented in its own
> > procedure (ith arguments as necessary). Then let Chen worry about
> > invoking your procedures from the interpreter.
>
> Let me suggest you do this the other way around: put in your Engine *only*
> the heavy weight stuff, such as the buffer data structure implementation,
> the rendering. Anything invoked from a menu should be a Python (or Tcl, if
> you choose the dark path) command. Note that if you choose Python,
> implement you buffer data structure as a built-in Python object and do
> the right kind of (small amount of) magic, you don't have to think about
> "file format" bull: Python's pickle (akin to Java's Serializable) will
> take care of the rest. This is pretty powerful stuff! Which is why I would
> hardly recommend...
This appears to be a good reason to go the Python way.
> > that a lightweight version (which doesn't rely upon Tcl or
> > Perl or Python libraries, but lacks scripting capability) can be created
> > by setting a configuration-time option in the makefile.
>
> Because you'll deny yourself the convenience you're giving your users.
> Instead, package up Python (or Tcl or Perl) *with* your word processor,
> and have it built as part of the make procedure. That way you side step
> evil configuration management issues easily enough.
However one of Mathan's highest priorities is a lightweight word
processor. This means that he must be able to build an usable version
without any extra weight. So I'd think twice before relying upon a
library (even if it is Python's library) for very essential features.
Look, he doesn't even rely upon X libraries, using SVGAlib instead in his
basic implementation.
My suggestion about scripting capability is aimed at making it a piece
which is optionally compiled&linked into the rest of Matan's word
processor.
--- Omer
"MS-Word keeps thinking it knows what I'm gonna do next and tries to
help me. I've lived with my wife for 27 years and SHE can't do that.
What makes MS-Word think it can?" Bill Mullins
WARNING:
By sending me unsolicited commercial/political/religious E-mail message/s
(known also as "spam"), you irrevocably agree to pay me US$500.- (plus any
legal expenses incurred by my trying to collect the amount due) per
unsolicited commercial/political/religious E-mail message - for the service
of receiving it.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]