Thanks Chris! I will do that :) On Fri, Nov 6, 2015 at 3:48 PM, Chris verBurg <cheetomons...@gmail.com> wrote:
> > Hmm, you might want to check with the groff guys then. If they are or are > not really using bison, they'd be able to tell you why. My > technically-correct-but-less-than-helpful response is limited to "if > groff's grammar is LALR(1), yes you can use bison!" Or to turn on GLR > parsing and watch the world burn. > > But, check with the groff guys. :) > > -Chris > > > > On Fri, Nov 6, 2015 at 2:56 AM, Roberto Jesus Dip <dip.jes...@gmail.com> > wrote: > >> Hey Chris, >> >> Thanks so much for your answer. >> >> Indeed, the Stackoverflow question is mine :). Is a bad behavior to post >> in multiple forums / lists?. >> >> Regarding the topic, I have seen the groff source code, and although some >> pre-processors like `eqn` and `pic` are using bison, groff itself and 95% >> of the code is written in C++ ( please correct me if I'm wrong! ). >> >> That's why I'm wondering if its really a good idea to use it. >> >> Thanks again! >> >> On Fri, Nov 6, 2015 at 3:46 AM, Chris verBurg <cheetomons...@gmail.com> >> wrote: >> >>> >>> Whoa, this looks just like a question posted in Stackoverflow a few >>> hours ago! :) >>> >>> A cursory googling gives me evidence that groff itself uses bison, which >>> would make jison a good match for parsing it, yes. >>> >>> -Chris >>> >>> >>> On Thu, Nov 5, 2015 at 3:24 PM, Roberto Jesus Dip <dip.jes...@gmail.com> >>> wrote: >>> >>>> Hello everyone, >>>> >>>> As part of a pet project, I'm trying to parse groff using Jison ( >>>> essentially a clone of Bison, but in JavaScript ). >>>> >>>> The idea behind this is to be able to parse groff to HTML in the >>>> browser, >>>> and make a live editor of man pages ( similar to http://dillinger.io/ >>>> ). >>>> >>>> Do you believe that its a good idea to use Bison for this?. >>>> >>>> Thanks in advance. >>>> >>>> -- >>>> Roberto Dip >>>> _______________________________________________ >>>> help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison >>>> >>> >>> >> >> >> -- >> Roberto Dip >> - >> Simplicity is the ultimate sophistication. — Leonardo da Vinci >> > > -- Roberto Dip - Simplicity is the ultimate sophistication. — Leonardo da Vinci _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison