Design and Implementation of the Standard Library for a Domain-Specific Programming Language in Robotics: String Manipulation
Abstract: This work presents the development of string manipulation functions for the Robcmp programming language, designed for microcontrollers in the context of robotics and embedded systems. The research aimed to analyze existing approaches, design an efficient solution for UTF-8 string representation and manipulation, and implement five key functions: containsstr, lenstr, equalstr, strtouppercase, and strtolowercase. The functions were validated through comparative testing with equivalent C implementations, demonstrating efficiency in the generated code size, albeit with slightly higher execution times. The results contribute to the advancement of Robcmp, ensuring greater expressiveness and supporting text written in diverse linguistic contexts. Future expansions include implementing new operations over strings and further optimizing the compiler.
Keywords: Robcmp; string manipulation; programming language; compilers; microcontrollers.
Complete monograph. Copyright © 2024. All rights reserved.
Disclaimer: Although the student carefully wrote the original abstract, and it was revised and improved, English is not him or the advisor' mother language. The original work is written in Portuguese.
Citation: Gabriel Krishna de Assis Vieira. Projeto e Implementação da Biblioteca Padrão de uma Linguagem de Programação Específica do Domínio da Robótica: Manipulação de Strings. Monografia. Bacharelado em Ciência da Computação. Universidade Federal de Jataí. Jataí, GO, Brasil. 2024. 57p.
Copy citation in bibtex format.