Intro Sometimes you need to extend your C++ Application dynamically during runtime with something what is not known at compile time yet. For easy things you can provide config files which may be changed prior before the application is started. The Application reads the config files on startup and use the contained settings accordingly. But […]
Tag: script
Related to script programming
I created a benchmark in C++ for testing and comparing TeaScript and its competitor ChaiScript by computing the Fibonacci number of 25 recursively. As a reference I did the same also in C++. The complete source code of the benchmark is available below. The result is pretty amazing, since with the used pre-release 0.8.0 of […]
๐ฅ๐ฅ๐ฅ Available NOW!!! ๐ฅ๐ฅ๐ฅ Proudly๐ and happily๐ I am hereby announcing the first Release of the ๐TeaScript 0.8.0๐ Host Application (Standard version) available for ๐FREE๐! โโโ Try and download it here! โโโ NO INSTALLATION REQUIRED โ Just download, unpack and use it! It was a long journey since my first ideas in March until the […]
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 […]
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 […]
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 […]
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 […]