From mboxrd@z Thu Jan 1 00:00:00 1970 From: a.phillip.garcia@gmail.com (A. P. Garcia) Date: Sun, 3 Aug 2014 03:00:11 -0500 Subject: [TUHS] Unix taste (Re: terminal - just for fun) In-Reply-To: <20140803004800.A747818C0A7@mercury.lcs.mit.edu> References: <20140803004800.A747818C0A7@mercury.lcs.mit.edu> Message-ID: On Aug 2, 2014 7:48 PM, "Noel Chiappa" wrote: > Well, there is a companion 'compiler' which converts extension source into > the intermediate form (byte-code) which is interpreted by the editor. But > it's even smaller (67KB!) and as fast as the editor itself. > > > I was pleasantly surprised that it does have one, and that it's a c > > derivative ... "Extensible and modifiable" doesn't always mean the same > > thing to everyone, and well, you're a kernel hacker. > > Take a quick look at a source file, e.g. one of mine: > > http://ana-3.lcs.mit.edu/~jnc/tech/cmd.e > > and you'll see i) what it's like (except for a few new editing-specific > keywords, such as 'on ' in function definitions, it's pretty much C), > and ii) it will give you a sense of the kind of things one writes in it, and > how easy it is to do so. > > The underlying run-time basically just provides buffer, display, etc > primitives, and pretty much all the actual editor commands are written in the > 'extension' languge, even simple things like 'forward character' (^F), etc. > The complete manual is available online, the run-time system is described > here: > > http://www.lugaru.com/man/Primitives.and.EEL.Subroutines.html > > Epsilon comes (as of a few versions back, I haven't bothered to upgrade) with > about 22K lines of source, which is the bulk of the actual editor; that turns > into about 190KB of intermediate code. the spirit of emacs without the bloat :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: