Modularization of code in RTLola
Large codebases and complex software projects are often hard to maintain. One of the factors making them this way is code organization. Poor organization of code leads to more duplication when engineers can’t easily find existing implementations of functionality. Depending on the programming language and toolchain used, they might offer different ways of combatting this problem by offering ways to structure the code according to the principles of modularity. This work solves the problem for specification languages such as RTLola by introducing a concept of modularization suited to stream-based languages and an implementation of that conecept for RTLola. We propose an implementation of modules that enables reusable and exchangeable code through modules, interfaces and instances.