Re: [code] [textadept] I want to contribute

From: Mitchell <m.att.foicica.com>
Date: Tue, 3 Mar 2015 09:10:06 -0500 (EST)

Hi Chris,

On Mon, 2 Mar 2015, Chris Emerson wrote:

> On Mon, Mar 02, 2015 at 08:56:23AM -0500, Mitchell wrote:
>> * If you're looking for a big project, here's one: Many text editors
>> have their own package managers for extensions and modules.
>> Textadept currently does not, but the LuaRocks project now supports
>> local repositories in any configurable location. I did some work
>> looking into this but didn't manage to come up with something (I
>> don't remember why at the moment). If you manage to do this, you'd
>> be a rock star :) I can send you the code from my previous attempt
>> and my notes. This is a very open-ended project with nothing really
>> clearly defined.
>
> I had an idea for this (which I haven't tried, so I'm probably missing some
> crucial problems). If textadept had a command line option to behave like the
> lua interpreter (ie load and execute a script instead of running the editor),
> then installing LuaRocks and telling it that your Lua 5.2 (currently) binary
> is, say, "textadept --lua-interpreter", that might just about work to install
> existing rocks (which is useful in itself). Could Textadept extensions just
> be put into the normal LuaRocks system?

I was thinking of 'require'ing LuaRocks from Textadept's Lua state and
doing stuff from there. I'm not sure how feasible a "Lua-interpreter mode"
is. I wouldn't want Textadept extensions in LuaRocks' system, but in the
standard `~/.textadept/modules` directory.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 03 Mar 2015 - 09:10:06 EST

This archive was generated by hypermail 2.2.0 : Wed 04 Mar 2015 - 06:45:54 EST