Forums : Feedback Forum

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.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]

Boo Programming Language Not Interpreted Correctly

In the Boo Programming Language project, the language is created using a combination of C# and Boo (itself) and targets the .NET CLR. Your metric analyzer appears to think that it contains Java, which is very incorrect. if someone from ohloh could look at it and see why it thinks there is Java in the codebase (so much so that it believes Java makes up half the project) it would be very helpful. Otherwise, I love the product you are offering.

Marcus Griep over 17 years ago
 

Hi neoeistein,

The java is coming from /lib/antlr-2.7.5/antlr/ stuff. We don't recognize boo yet - i'll add it right now and re-analyze your project. Hang on...

Jason Allen over 17 years ago
 

ok - done: 12% Boo!

Jason Allen over 17 years ago
 

Awesome, thanks for the quick reply, Jason. Great work!

Marcus Griep over 17 years ago
 

Jason, one more thing that I've noted: In boo, // and # start a line comment (similar to C and Python). Also, /**/, as in C is a block comment. Doc strings (denoted by a triple-quoted string are multiline strings that are treated as documentation comments when following a definition (method, class, property, field, etc.), as in Python. Quite easily, comments in boo can be thought of as the union of Python and C commenting styles.

It may take some work; I'm not sure how complex ohloh's parsing mechanisms are; but, this would lead to a more accurate reflection of the number of comment lines in the code base.

Again, thank you for a great service. It keeps getting better!

Marcus Griep over 17 years ago