Skip to content

!UNFINISHED! Evaluation calculator with grammar using (idea from Bjarne Stroustrup: "Programming. Principles and Practice Using C++") fully in CMake

License

Notifications You must be signed in to change notification settings

UmbrellaLeaf5/cmake_eval_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake Evaluation Calculator

Funny project of first grade MIPT DAFE/RSE student (for spending summer) in just CMake

Contents

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

Idea story

The idea of ​​writing this “miracle” came to me after watching another programming video that talked about assembly systems. The fact is that it was then that I learned that some assembly 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 this summer :)

About

!UNFINISHED! Evaluation calculator with grammar using (idea from Bjarne Stroustrup: "Programming. Principles and Practice Using C++") fully in CMake

Topics

Resources

License

Stars

Watchers

Forks

Languages