Multiple choice

Which of the following tools is used to specify lexical analyzers for a variety of languages?

  1. Lex

  2. Yaac

  3. EQN

  4. TeX

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Lex is a well-known tool used to generate lexical analyzers (scanners) for various programming languages. It reads specification files and produces C code for lexical analysis. Yaac, EQN, and TeX serve different purposes.