IRC channel logs

2020-11-13.log

back to list of logs

***dongcarl1 is now known as dongcarl
***catonano_ is now known as catonano
***amiloradovsky1 is now known as amiloradovsky
***amiloradovsky1 is now known as amiloradovsky
<civodul>hi!
<civodul>i have a line/column position within a C file
<civodul>how tricky would it be to determine the surrounding function boundaries using nyacc's C99 parser?
<civodul>hey, mwette, right in time :-)
<civodul>i had a question about nyacc: http://logs.guix.gnu.org/guile/2020-11-13.log#141914
<dsmith-work>Happy Friday, Guilers!!
<civodul>happy Friday, dsmith-work!
<mwette>civodul: just saw your message; thinking ... ; happy Friday BTW
<civodul>i figured it might make more sense to do that with something like GNU GLOBAL
<civodul>because the c99 parser may want to do "too much"
<mwette>the c99 parser does not now capture location info ; I don't know what GNU GLOBAL is
<civodul>it's a tool similar to ctags/etags
<mwette>thanks
<civodul>ah too bad location info isn't captured
<mwette>probably not hard using source-location info in Guile -- lexer would add it to the terminals and parser would propagate through production rules ; but it's more code and more time to parser
<civodul>yeah
***amiloradovsky1 is now known as amiloradovsky
<manumanumanu>wingo: yeah... I noticed that it happened with ,expand as well as with ,opt.