public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Re: Adding Ruby support to Source Navigator
@ 2000-11-13 14:28 Ian Roxborough
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Roxborough @ 2000-11-13 14:28 UTC (permalink / raw)
  To: Ben Elliston, Syd Polk; +Cc: sourcenav

On Tue, 14 Nov 2000, Ben Elliston wrote:
>    Hmm. I hate configuration files. I would vote for a pattern.
>    Something like:
>    sn*high*.so on unix
>    and
>    sn*high*.dll on windows.
> 
> What about the problems whereby users get confused by implict behaviour?
> I have implicit behaviour. :-)

I'm kind of a fan of having a directory for putting things like highing
libs
in.  SN can then just load all valid shared libraries in this directory.

This is how the new 5.0 toolchain support will work.

Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adding Ruby support to Source Navigator
  2000-11-13  8:47     ` Syd Polk
@ 2000-11-13 14:11       ` Ben Elliston
  0 siblings, 0 replies; 6+ messages in thread
From: Ben Elliston @ 2000-11-13 14:11 UTC (permalink / raw)
  To: Syd Polk; +Cc: Mo DeJong, sourcenav

   > I'm trying to decide whether all libraries matching a specific pattern (say,
   > "*high*.so" should be loaded, or whether they should be named explicitly in
   > the configuration file.  Thoughts?

   Hmm. I hate configuration files. I would vote for a pattern.
   Something like:
   sn*high*.so on unix
   and
   sn*high*.dll on windows.

What about the problems whereby users get confused by implict behaviour?
I have implicit behaviour. :-)

Ben

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adding Ruby support to Source Navigator
  2000-11-13  6:05   ` Ben Elliston
@ 2000-11-13  8:47     ` Syd Polk
  2000-11-13 14:11       ` Ben Elliston
  0 siblings, 1 reply; 6+ messages in thread
From: Syd Polk @ 2000-11-13  8:47 UTC (permalink / raw)
  To: Ben Elliston; +Cc: Mo DeJong, sourcenav

Ben Elliston wrote:
> 
> Yo Mo,
> 
>    Well, are you going to be around to help keep it working? I don't know
>    that would have a problem with adding support for ruby, I just want to
>    make sure we don't end up with an abandoned parser. I know Ben was
>    thinking about what changes would be needed to move the syntax
>    highlighter out of the core, but he would know more about that.
> 
> I've already started -- I have the configury in place to build the syntax
> highlighters as shared libraries with libtool.  The next step is to just add
> in the hooks to load these libraries with Tcl's "load" command at start-up.
> 
> I'm trying to decide whether all libraries matching a specific pattern (say,
> "*high*.so" should be loaded, or whether they should be named explicitly in
> the configuration file.  Thoughts?

Hmm. I hate configuration files. I would vote for a pattern.

Something like:

sn*high*.so on unix

and

sn*high*.dll on windows.



> 
> At any rate, this'll be a vast improvement.
> 
> Ben

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adding Ruby support to Source Navigator
  2000-11-11 18:55 ` Mo DeJong
@ 2000-11-13  6:05   ` Ben Elliston
  2000-11-13  8:47     ` Syd Polk
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Elliston @ 2000-11-13  6:05 UTC (permalink / raw)
  To: Mo DeJong; +Cc: sourcenav

Yo Mo,

   Well, are you going to be around to help keep it working? I don't know
   that would have a problem with adding support for ruby, I just want to
   make sure we don't end up with an abandoned parser. I know Ben was
   thinking about what changes would be needed to move the syntax
   highlighter out of the core, but he would know more about that.

I've already started -- I have the configury in place to build the syntax
highlighters as shared libraries with libtool.  The next step is to just add
in the hooks to load these libraries with Tcl's "load" command at start-up.

I'm trying to decide whether all libraries matching a specific pattern (say,
"*high*.so" should be loaded, or whether they should be named explicitly in
the configuration file.  Thoughts?

At any rate, this'll be a vast improvement.

Ben

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adding Ruby support to Source Navigator
  2000-11-10 13:25 Dave Thomas
@ 2000-11-11 18:55 ` Mo DeJong
  2000-11-13  6:05   ` Ben Elliston
  0 siblings, 1 reply; 6+ messages in thread
From: Mo DeJong @ 2000-11-11 18:55 UTC (permalink / raw)
  To: sourcenav

On 10 Nov 2000, Dave Thomas wrote:
 
> I've written a Source Navigator parser, and I'm in the middle of
> writing a highlight parser, for the Ruby language.
> 
> What is the recommended way of distributing this? I can see how I can 
> ship the parser separately, but unless I'm misunderstanding something
> the highlighter has to be linked in to the product.
> 
> Would you folks be interested in adding this Ruby support to the main
> product?

Well, are you going to be around to help keep it working?
I don't know that would have a problem with adding support
for ruby, I just want to make sure we don't end up with
an abandoned parser. I know Ben was thinking about what
changes would be needed to move the syntax highlighter
out of the core, but he would know more about that.

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Adding Ruby support to Source Navigator
@ 2000-11-10 13:25 Dave Thomas
  2000-11-11 18:55 ` Mo DeJong
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Thomas @ 2000-11-10 13:25 UTC (permalink / raw)
  To: sourcenav

I've written a Source Navigator parser, and I'm in the middle of
writing a highlight parser, for the Ruby language.

What is the recommended way of distributing this? I can see how I can 
ship the parser separately, but unless I'm misunderstanding something
the highlighter has to be linked in to the product.

Would you folks be interested in adding this Ruby support to the main
product?


Regards


Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-11-13 14:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 14:28 Adding Ruby support to Source Navigator Ian Roxborough
  -- strict thread matches above, loose matches on Subject: below --
2000-11-10 13:25 Dave Thomas
2000-11-11 18:55 ` Mo DeJong
2000-11-13  6:05   ` Ben Elliston
2000-11-13  8:47     ` Syd Polk
2000-11-13 14:11       ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).