Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Muse, a markup language

I use http://www.emacswiki.org/cgi-bin/wiki/EmacsMuse in order to write documentation for free software projects which I publish to the Internet (to .html that is). Basically, Muse is a markup language much like docbook for example.

All source code for this website is written in Muse markup language (.muse files; plain text files on the filesystem) and then published to .html.

This project has around 70000 lines of code now but ohloh reports only around 300 which is a bit of css and shell code contained in the .muse source.

My question now is, how I can I make it so that every line of code from my .muse source files is counted? I would not mind that much if it gets the source language wrong, but the lines of code is important.

I host this project on GitHub http://github.com/sunoano/0/tree/master

The ohloh project page can be found here https://www.ohloh.net/p/sunoano

Suno Ano about 16 years ago
 

Anyone?

Suno Ano about 16 years ago
 

Hi Suno,

Sorry, I missed your post the first time around.

To make this work, someone will have to write a Muse parser for Ohcount, the line counter we use.

If you want to try your hand at writing the parser, you can find the Ohcount source code at labs.ohloh.net. We'd be happy to take a patch. Most new language parsers are pretty simple -- you can usually just copy and paste an existing similar language parser and make your changes.

I'm happy to answer any questions that come up.

Robin

Robin Luckey about 16 years ago