https://github.com/umbrellaleaf5/cmake_eval_calculator
!UNFINISHED! Evaluation calculator with grammar using (idea from Bjarne Stroustrup: "Programming. Principles and Practice Using C++") fully in CMake
https://github.com/umbrellaleaf5/cmake_eval_calculator
calculator cmake cmakelists evaluation
Last synced: 5 months ago
JSON representation
!UNFINISHED! Evaluation calculator with grammar using (idea from Bjarne Stroustrup: "Programming. Principles and Practice Using C++") fully in CMake
- Host: GitHub
- URL: https://github.com/umbrellaleaf5/cmake_eval_calculator
- Owner: UmbrellaLeaf5
- License: unlicense
- Created: 2024-07-04T22:07:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-28T16:12:56.000Z (over 1 year ago)
- Last Synced: 2025-02-28T21:11:22.642Z (over 1 year ago)
- Topics: calculator, cmake, cmakelists, evaluation
- Language: CMake
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CMake Evaluation Calculator
**Funny project of first grade MIPT DAFE/RSE student (for spending summer) in just CMake**
# Contents
* [Description](#description)
* [Used sources](#used-sources)
* [Idea story](#idea-story)
## Description
In this project, in order to somehow pass the summer days, I decide to write a fully functioning expression calculator in CMake (without using any programming languages). The basis will be taken from the book by Bjarne Stroustrup "Programming. Principles and Practice Using C++", described in the chapters on grammar.
## Used sources
* [CMake](https://cmake.org/): main project build system and tool
* Bjarne, Stroustrup Programming. Principles and practice using C++ / Stroustrup Bjarne. - 2. - Moscow: Publishing House "William", 2016. - 1329 p. — Text: direct.
* Winderton ты C++ РАЗРАБОТЧИК?) ага / Winderton. — Text: electronic // YouTube : [link](https://www.youtube.com/watch?v=CCBH8UQHCW4&ab_channel=Winderton)
## Idea story
The idea of writing this “miracle” came to me after watching another programming video that talked about building systems. The fact is that it was then that I learned that some building systems are Turing complete. Around the same time, my groupmates and I were joking about how long it took us to pass the assignment on Stroustrup’s book on C++. And so, at that very moment I joked: “Imagine if we were told to write it without C++! And this is possible! CMake is Turing-complete!”. And that same day I thought about actually doing this. However, I only got around to it summer 2024 :)