blob: c3403ebfc53fd20958af7dbc67b6ba1045ed53fb [file] [log] [blame]
Nik Dewallybc9e1942024-07-02 17:00:15 +01001################################
2'tfz-cpp/parser'-directory guide
3################################
Karl Zhang3de5ab12021-05-31 11:45:48 +08004
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
Nik Dewallybc9e1942024-07-02 17:00:15 +010013*********************************************
14``tf_fuzz/tfz-cpp/parser`` directory contents
15*********************************************
Karl Zhang3de5ab12021-05-31 11:45:48 +080016.. 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.*