Ticket #246 (new enhancement)

Opened 10 months ago

Last modified 1 week ago

Literate Haskell support

Reported by: igloo Assigned to:
Priority: like Milestone: current
Component: parser Version: current
Severity: bad Keywords:
Cc:

Description

This patch teaches ohcount about literate Haskell files. It's mostly right, and mostly works, but it needs some slight tweaking by someone more familiar with how ohcount works than I. I had a bit of an argument with git, so let me know if I forgot to add a file or something. I'm happy to look at changes and confirm whether or not it's still doing the right thing.

Attachments

0001-Mostly-working-literate-Haskell-.lhs-support.txt (37.4 kB) - added by igloo on 03/26/2008 03:41:49 PM.

Change History

03/26/2008 03:41:49 PM changed by igloo

  • attachment 0001-Mostly-working-literate-Haskell-.lhs-support.txt added.

03/27/2008 10:57:24 AM changed by oblomov

I've already added support for Literate Haskell in the context of my Literate Programming patch #233. However, not being knowledgeable of Haskell at all, I'm not sure how well it would handle real-world files. Would you consider testing my patches against your files and check what kind of improvements they need?

03/28/2008 06:05:56 PM changed by robin@ohloh.net

  • owner deleted.

(follow-up: ↓ 4 ) 03/30/2008 12:27:43 PM changed by igloo

I have no idea how to drive git, but the obvious thing doesn't work:

$ git-am ../0001-documentation-monoglot.patch                             

Applying ''documentation' monoglot'

error: patch failed: ext/ohcount_native/generator.rb:31
error: ext/ohcount_native/generator.rb: patch does not apply
error: patch failed: lib/ohcount/sloc_info.rb:50
error: lib/ohcount/sloc_info.rb: patch does not apply
Patch failed at 0001.
When you have resolved this problem run "git-am --resolved".
If you would prefer to skip this patch, instead run "git-am --skip".

(in reply to: ↑ 3 ) 06/16/2008 03:01:20 PM changed by SamB

Replying to igloo:

I have no idea how to drive git, but the obvious thing doesn't work: {{{ $ git-am ../0001-documentation-monoglot.patch

I think you are actually supposed to pull from the repository shown at http://oblomov.dnsalias.org/git?p=ohcount.git;a=summary

12/30/2008 11:18:27 AM changed by dwell air jordan

I'm closing it according to the last comment. ohloh nike shoes