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