University of Oulu

Source to source compilation from QML to C++

Saved in:
Author: Golubev, Andrei1
Organizations: 1University of Oulu, Faculty of Information Technology and Electrical Engineering, Computer Science
Format: ebook
Version: published version
Access: open
Online Access: PDF Full Text (PDF, 41.3 MB)
Pages: 58
Persistent link: http://urn.fi/URN:NBN:fi:oulu-202106188579
Language: English
Published: Oulu : A. Golubev, 2021
Publish Date: 2021-06-22
Thesis type: Master's thesis (tech)
Tutor: Bordallo Lopez, Miguel
Reviewer: Silvén, Olli Johannes
Bordallo Lopez, Miguel
Description:

Abstract

Modern computer technology is tightly related to programming languages, which are typically rather high-level. These high-level languages allow programmers to abstract from the actual hardware implementations and focus on the business logic. Over the years, many programming languages were created, some for the general purpose and some for the domain specific use.

This thesis focuses on the domain specific language called QML, which is designed and used within the Qt project, and, in particular, on the development of a novel compilation approach that allows to translate this language into optimized C++ code. The produced C++ program makes use of the available components of the Qt framework. This simplifies the compilation logic significantly and enables the reuse of the extensive software foundation. In the end, the generated code is compiled into the machine code for any supported target system by the C++ compiler available on that system, which makes C++ act as a convenient program representation and ensure that the whole approach is cross-platform by design.

see all

Subjects:
Copyright information: © Andrei Golubev, 2021. This publication is copyrighted. You may download, display and print it for your own personal use. Commercial use is prohibited.