This is directory contains the solution of the here assignment
To download the necessary libraries for the python scripts
pip install -r requirements.txtThere are two folders:
-
Q1: which contains the solution of the first task and it is written in C.
The following ReadMe file contains a description of that solution.
-
Q2: which contains the solution of the second task and it is written in python.
The following ReadMe file contains a description of that solution.
- Run the test for the C code in Q1:
use the makefile which will generate the executable Unit_Tests.
make-
Run the python scripts in Q2:
- To run the test for python code in Q2:
use the following command line interface:
python Q2/parser_test.py [--path path]
If no path is selected the default path will be the current directory.
- To run the python implementation of the xml_parser: use the following CLI:
python Q2/xml_parser.py [--path path]
If no path is selected the default path will be the current.