Implementation of Visitor Pattern in Processing a Syntax Tree in Qlab Project

Main Article Content

Aleksandar Đenić
Miroslav Marić
Marko Mladenović
Srđan Božović
Miloš Netković

Abstract

Qlab is an open-source project that supports various mathematical calculations, specialized for academic use. It has been developed at the Faculty of Mathematics, University of Belgrade, and is supported by Microsoft Serbia. In this paper we present some of Qlab’s successfully implemented core solutions. More precisely, in our approach we use a specialized Visitor pattern to optimize the management of syntax tree commands that our parser sends to our engine. This allows the processing of a larger scale of tree implementation using the Visitor interface.

Article Details

Section
Articles