-
Motivation and background story for TeaScript
Show more: Motivation and background story for TeaScriptAs I had figured out that the technical realization for a C++ script, which supports the full feature set and syntax of modern C++, is completely unclear for now or a way more too complex (see blog post), I deferred that task for somewhen unspecified in the future. Instead, I had a look at how…
-
How did I “UnitTest” the repeat loop of TeaScript in C++
Show more: How did I “UnitTest” the repeat loop of TeaScript in C++In this blog post you will not only learn about the repeat loop in TeaScript but also about what is a good and practical way to write UnitTests by increasing the difficulty of the tests in small steps. First let’s check how the repeat loop in TeaScript is defined:(I try to be close to this…
-
HTTP 500 error on mobile devices
Show more: HTTP 500 error on mobile devicesFun with WordPress, WP-Statistics and PHP memory limits
-
C++ as a standalone script?
Show more: C++ as a standalone script?Since my early days as a C++ developer I wanted to use C++ code snippets as a standalone script file. Like just type the following C++20 code snippet (see my previous blog post) in a file and then execute it: But how can this be made possible?? Develop an interpreter which supports the complete set…
-
Design by Introspection (C++20)
Show more: Design by Introspection (C++20)Some time ago I stumbled upon a very interesting (and for me new) technique named “Design by Introspection”, which is easily possible with the concept feature of C++20. This technique can be illustrated by the following small code snippet: First the parameter of the function value is of type auto, so it will be set…