title: Lex/Rex and Yacc/Racc files for Kconfig
body: <p>I would like to parse Linux Kconfig files to create a graph visualization of their relationships. My first thought was to use rex/racc (ruby versions of lex/yacc) to parse the Kconfigs because ruby is my language of choice. I figure there must be lex/yacc files for parsing Kconfigs that I could adapt but I cannot for the life of me find any. Does anyone have any links to these or know of any other ruby-based parser for Kconfigs?</p>
  <p>I found <a href="https://stackoverflow.com/questions/3844233/parsing-kconfig-using-racc">this Stackflow question</a> but there's no useful links or specs.</p>