An open API service indexing awesome lists of open source software.

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

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 :)