oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.33k stars 746 forks source link

ctags configuration (--langdef=prolog) for SWI Prolog programs #1006

Open hseuming opened 8 years ago

hseuming commented 8 years ago

Hi, i understand that Prolog is not a supported language in OpenGrok according to https://github.com/OpenGrok/OpenGrok/wiki/Supported-Languages-and-Formats

Does anyone know of any ctags configuration for SWI Prolog programs so i can embark on a DYI effort? My web surfing did not yield anything useful.

Thanks for reading.

vladak commented 7 years ago

I'd research first if Universal ctags (https://github.com/universal-ctags) has any support.

tarzanek commented 7 years ago

not there ... so @hseuming can try to write your own regexp based analysis, see how we do scala, etc.

masatake commented 3 years ago

If you want to write a parser for prolog, visit https://github.com/a-ctags/ctags/issues/2628 .