This project provides a C++ implementation for handling Excel-like spreadsheets. The repository includes source files, build scripts, and test cases to facilitate development and testing.
- C++ Compiler: Ensure you have a C++ compiler that supports C++20.
- CMake: Version 3.10 or higher.
Clone the repository:
git clone https://github.com/roman-princ/cpp-excel.gitcd cpp-excel
- Using CMake:
mkdir buildcd buildcmake ..make
- Manually Compiling
combined.cpp:
If you prefer to compile the combined.cpp file directly, you can use the following commands:
g++ -std=c++20 -Wall -pedantic -g -o excel combined.cpp -L . -l expression_parser./excel- This will compile and run the
combined.cppfile. - You can generate the
combined.cppfile by running themakeone.pyscript β
To run the tests included in the repository, you can execute the compiled excel binary:
./excel
-
big/: Contains the main source files for the project.AstNode.hBinaryOpNode.hCCell.hCExpressionBuilder.hCPos.hCSpreadsheet.hCValue.hReferenceNode.hUnaryOpNode.hValueNode.hcombined.cpp: Combined source file for ProgTest submission.expression.hlibexpression_parser.a: Static library for expression parsing.makeone.py: Python script to combine source files for ProgTest.test.cpp: Test cases for the project.
-
CMakeLists.txt: CMake script for building the project. -
LICENSE: License file. -
README.md: Project documentation (you are here).
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.