|
Implementation of visitor pattern in processing a syntax tree in Qlab projectDOI: 10.2298/sjee1201029d Keywords: Qlab , Visitor pattern , Syntax tree 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.
|