4 How to use Wisent with Semantic

This section presents how the Wisent’s parser can be used to produce tags for the Semantic tool set.

Semantic tags form a hierarchy of Emacs Lisp data structures that describes a program in a way independent of programming languages. Tags map program declarations, like functions, methods, variables, data types, classes, includes, grammar rules, etc..

To use the Wisent parser with Semantic you have to define your grammar in WY form, a grammar format very close to the one used by Bison.

Please see (grammar-fw)Semantic Grammar Framework Manual, for more information on Semantic grammars.