Categories
C++Programming

The best Visual Studio settings for modern C++ ?!

This post was viewed [wpstatistics stat=pagevisits time=total id=528] times. Following a list of my preferred and maybe (?) best Visual Studio settings for modern C++ programming based on my experience and evaluations. Each mentioned setting will be explained with some short sentences. I will cover “Release” Builds only – and I use Visual Studio 2022, […]

Categories
TeaScript

Goals and planned features for TeaScript

Inspired from Lua and ChaiScript (see blog post) but also from so many ideas which came to my mind unrelated to these 2 existing variants, I developed and created a huge number of ideas and features as well as design and architectural aspects for TeaScript. After that I was comparing other programming languages to check […]

Categories
TeaScript

Motivation and background story for TeaScript

As 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 […]

Categories
TeaScript

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 […]

Categories
C++Programming

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 […]

Categories
C++Programming

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 […]