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]

Language particulars: lex and yacc

Hi!

I wonder why the language yacc cannot be selected, and why the language lex is listed under flex, the name of one of its implementations?

(OT: the BSD licences have duplicates…)

mirabilos over 15 years ago
 

Hi Thorsten,

Ohcount, our open source line counter, doesn't recognize yacc. If you want to add it, we happily accept patches.

I must admit I am not a Lex/Flex expert, so I am a bit at the mercy of the community with regards to how Ohloh should support them.

Our recognition of Flex is based purely on discovery of *.mxml files, which I understand to be specific to Flex (and not Lex), but I could easily be wrong here.

Robin Luckey over 15 years ago
 

http://www.mirbsd.org/man1/flex

There’s nothing XML in there ☺

Basically, lex files are *.l and yacc files are *.y, and they do have some kind of syntax, but…

… well, Ohcount does not dive into patch files (unidiff or context diff) either, just says there is no code. I bet that one is easier to fix. Can’t promise anything though, been busy fixing NetBSD software.

mirabilos over 15 years ago