Recent C++ standards have introduced many new features. We often hear about them, but it would be interesting to test them in practice. Nothing could be simpler! We need to make a relatively simple project in which we will use many of them. And so the implementation of the FORTH compiler-interpreter was created. You may ask – what is that? I've never heard of it. Don't worry, after this talk you will know more about this language and about few cool features of modern C++.
In this presentation I'll show you the basics of FORTH, starting from its key components: the computational stack and the dictionary of words, i.e. its commands. But what will be really interesting is what new C++ constructs we can use and in what situations. For instance, we'll show how to use modules to organize the project, demonstrate std::ranges and coroutines for parsing, then organize coroutines to create a simple version of a cooperative OS, and finally we’ll show many smaller but very useful features of modern C++. Everyone is welcome!