Page 31 - Fister jr., Iztok, and Andrej Brodnik (eds.). StuCoSReC. Proceedings of the 2016 3rd Student Computer Science Research Conference. Koper: University of Primorska Press, 2016
P. 31
Race configuration

BEGIN END SWIM
RACE RACE

START STOP RUN BIKE TA

Measuring devices

AUTO-1 AUTO-2 MANUAL

START 0 LAPS TA 10 LAPS STOP Controls SAVE AS... ERASE
COPY

OPEN SAVE GENERATE

192.168.225.2

Figure 3: Visual program for measuring time in an aquathlon competition.

Table 4: Result of algorithm ’config race’.
CP = { Begin(0,1),Event(Swim, 0, 1),End (1),Begin(0,2),Event(Run, 10, 2),End (2) }
MP = { Md (Auto-2,1,1,”192.168.225.2”), Md (Auto-2,2,1,”192.168.225.2”) }
LN = { (3,1),(4,2),(5,2),(6,2) }

Algorithm 3 Source code for measuring time during on so-called semiotics objects, the source code is then gener-
aquathlon. ated, which can be translated into object code using the
existing compiler/generator. The proposed approach was
1: 1 auto 192.168.225.2; tested by the development of EasyTime III VDSL for mea-
2: suring time during sports competitions and starting with
3: START1 = 0; the concepts of an application domain obtained through do-
4: ROUND1 = 0; main analysis. These concepts serve as the basis for build-
5: INTER1 = 0; ing EasyTime III graphical user interfaces on the Qt based
6: FINISH1 = 0; visual editor. The visual program (also user model) built
7: START2 = 0; using this editor is then mapped into EasyTime DSL con-
8: ROUND2 = 10; structs. The result of this translation is the EasyTime DSL
9: INTER2 = 0; source program. Translating this source program using the
10: FINISH2 = 0; LISA compiler/generator generates an object AM code for
11: the EasyTime measuring system. As a result, the developed
12: mp1[1] → agnt[1] { EasyTime III VDSL enables ordinary users (e.g., organis-
13: (ROUND1 == 0) → upd FINISH1; ers of sports competitions) to create programs for measuring
14: } time application-domain visually. That is, instead of writing
15: mp1[2] → agnt[1] { the program in text editor, only ’point-and-click’ is needed
16: (ROUND2 == 10) → upd START2; with the icons on the screen. With the proposed EasyTime
17: (true) → upd INTER2; III, the programming of a measuring system within visual
18: (true) → dec ROUND2; environments is easier, faster, and more effective.
19: (ROUND2 == 0) → upd FINISH2;
20: } 5. REFERENCES

meanings of the semiotics objects. Note that this code is [1] J. Blanchette and M. Summerfield. C++ GUI
functionally equivalent to the code written by the domain programming with Qt 4. Prentice Hall PTR, 2006.
expert manually. Later, EasyTime LISA compiler/generator
is used for object code generation [8]. [2] D. Chandler. Semiotics: The Basics. Routledge, New
York, US, 2007.
4. CONCLUSION
[3] M. Dalheimer. Programming with QT: Writing
This paper proposes a new hybrid VDSL creation approach portable GUI applications on Unix and Win32.
that is suitable when the DSL already exists in certain appli- O’Reilly Media, Incorporated, 2002.
cation-domain. In this manner, a programmer exploits exist-
ing DSL and focuses on designing a graphical user interface. [4] C. de Souza. The semiotic engineering of
Thus, he/she avoids constructing the meta-model and, in human-computer interaction. MIT Press, Cambridge,
line with this, the usage of the complex development frame- England, 2005.
works, like Eclipse. The modelling step is, here, substituted
with semiotic analysis, where each visual element, like icon [5] C. de Souza. Semiotic perspectives on interactive
or link, is handled as a sign with its representation (object) languages for life on the screen. Journal of Visual
and meaning (implementation of the object). From these Languages & Computing, 24(3):218 – 221, 2013.

[6] K. Finkenzeller. RFID handbook: fundamentals and

StuCoSReC Proceedings of the 2016 3rd Student Computer Science Research Conference 31
Ljubljana, Slovenia, 12 October
   26   27   28   29   30   31   32   33   34   35   36