blob: ddbca5a5cebf4ca0aeabfac289f4a78d01f8dded [file] [log] [blame]
Karl Zhang3de5ab12021-05-31 11:45:48 +08001########################
2'parser'-directory guide
3########################
4
5************
6Introduction
7************
8
9Users' test-template files are parsed using a Lex/YACC grammar, to make the
10test-template language easily extensible. Much of the actual work is done in
11helper functions, but the Lex/YACC grammar manages the process.
12
13***********************************************
14``.../tools/tf_fuzz/parser`` directory contents
15***********************************************
16.. code-block:: bash
17
18 tf_fuzz_grammar.l tf_fuzz_grammar.y
19
20This directory contains the Lex and YACC grammars for parsing the TF-Fuzz
21command "language," if it can be called that. The
22``tf_fuzz_grammar.tab.cpp/.hpp`` files generated also form the executive for
23the entire parsing process.
24
25--------------
26
27*Copyright (c) 2020, Arm Limited. All rights reserved.*