Extending ctags with a parser written in CΒΆ

This chapter describes how to add a parser in C and the internal API of Universal Ctags.

Before you start writing a parser in C, consider using optlib parser. Universal Ctags extends the functionality so extensively that it can implement most of functionality for the parser. See ctags-optlib(7) and Extending ctags with Regex parser (optlib) for details.

optlib parser is also suitable for prototyping of a parser in C.