>>>> "monkeyiq" == monkeyiq
<monkeyiq(a)dingoblue.net.au> writes:
monkeyiq> just in case the relavant people are unaware of swig,
Dunno about anybody else, but I'm aware of SWIG. Unfortunately, SWIG
is designed for projects which can accept the discipline imposed by
writing with SWIG as the target. Emacs is 25 or 30 years old, full of
cruft and idiosyncracy.
monkeyiq> so that people who want to script emacs in python can,
monkeyiq> and people who want LISP can.
It doesn't really work that way. Yes, there's 22MB of C code in ./src
and ./lwlib, and only 13MB of Lisp in ./lisp. But much of the code in
./src is Lisp "hand-compiled" to C. Really, less than 1/3 of X?Emacs
is "real C" code, and much of that is "hardware" interfacing (care
and
feeding of windowing systems, etc). Much C code that implements
editing functionality is just wrappers around Lisp functions.
Not to mention that much of the really advanced functionality is based
on hooks, AKA callbacks, and they must conform to the Lisp API.
So SWIG isn't much help at all.
You're welcome to think about it and try it out; there's plenty of
room in the repository for a branch if you get to actually coding.
But when it gets sticky, don't say we didn't warn you. :-)
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."