Implementation of visitor pattern in processing a syntax tree in Qlab project
Author(s) -
Aleksandar Djenić,
Miroslav Marić,
Marko Mladenović,
Srdjan Božović,
Milos Netkovic
Publication year - 2012
Publication title -
serbian journal of electrical engineering
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.133
H-Index - 5
eISSN - 2217-7183
pISSN - 1451-4869
DOI - 10.2298/sjee1201029d
Subject(s) - computer science , visitor pattern , parsing , struct , syntax , tree (set theory) , programming language , computer graphics (images) , artificial intelligence , mathematics , mathematical analysis
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
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom