Categories
C++Programming TeaScript

Script Language comparison for embed in C++

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

Categories
TeaScript

TeaScript VS ChaiScript Fibonacci Benchmark

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

Categories
TeaScript

Release of TeaScript 0.8.0 (for ๐Ÿ€FREE๐Ÿ€)

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ 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 […]

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