Bug#594482: ITP: libsyntax-ruby -- A simple Ruby syntax highlighting library

2010-08-26 Thread Ben Armstrong
Package: wnpp
Severity: wishlist
Owner: Ben Armstrong sy...@sanctuary.nslug.ns.ca

* Package name: libsyntax-ruby
  Version : 1.0.0
  Upstream Author : Jamis Buck ja...@jamisbuck.org
* URL : http://syntax.rubyforge.org/
* License : BSD
  Programming Lang: Ruby
  Description : A simple Ruby syntax highlighting library

This is a simple syntax highlighting library for Ruby. It is a naive syntax
analysis tool, meaning that it does not understand the syntaxes of the
languages it processes, but merely does some semi-intelligent pattern matching.

There are primarily two uses for the Syntax library:

# Convert text from a supported syntax to a supported highlight format (like 
HTML).
# Tokenize text in a supported syntax and process the tokens directly.

While there already exist other Ruby syntax highlighting libraries in Debian,
this one is a dependency of Cucumber, which I RFP'd (#565769) a while ago and
will shortly be converted to an ITP, if not by me then by a colleague.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100826105205.23934.30037.report...@lear.nslug.ns.ca



Bug#594482: [DRE-maint] Bug#594482: ITP: libsyntax-ruby -- A simple Ruby syntax highlighting library

2010-08-26 Thread Joshua Timberman
Hi Ben!

On Aug 26, 2010, at 4:52 AM, Ben Armstrong wrote:

 Package: wnpp
 Severity: wishlist
 Owner: Ben Armstrong sy...@sanctuary.nslug.ns.ca
 
 * Package name: libsyntax-ruby
  Version : 1.0.0
  Upstream Author : Jamis Buck ja...@jamisbuck.org
 * URL : http://syntax.rubyforge.org/
 * License : BSD
  Programming Lang: Ruby
  Description : A simple Ruby syntax highlighting library


You may be interested to know that I already started down this same road when I 
was packaging Chef, as we were using the syntax library for code syntax 
highlighting in the webui. The original bug was:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538353

See further discussion there. I switched to coderay, which was pretty easy to 
implement even though I had no prior experience with syntax or coderay until I 
switched the Chef webui.

It looks like the only part of cucumber that actually uses the syntax 
highlighting is a couple simple lines and should be relatively easy to get 
upstream to patch. I'm sure they'd be open to doing so given that Jamis doesn't 
maintain the syntax library anymore and he recommended I use coderay instead of 
his own.

The bottom line is, it would probably be less work to get cucumber to use 
coderay than to go through the effort on packaging syntax.

-- 
Opscode, Inc
Joshua Timberman, Technical Evangelist
C: 720.334.RUBY E: jos...@opscode.com




--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/6b3fa4c9-be53-434a-972b-d8bc85fdf...@opscode.com