[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] library config



On Wed, Dec 17, 2003 at 12:00:21PM +0100, Arve Knudsen wrote:
> Just an idea, perhaps it would be good to factor commonalities between the 
> app and SC_TerminalClient into a base class? It could take care of 
> initialization, library loading and such. Perhaps better implemented as a 
> component class, rather than derived from. I was thinking of creating a 
> Python interface (with the help of SWIG) to sclang, so I could script it 
> from within Vim (built with Python support).  A more basic client class, 
> which doesn't read from the commandline would be useful here I think. Am I 
> on to something?

i've split the class into an abstract base class (SC_LanguageClient)
and SC_TerminalClient. SC_LanguageClient parses common commandline
options (memory, network port) and strips them from the argv. you can
also pass options from your program, though.

maybe have a look at it, the interface may still be missing something
...

<sk>