26.12.2013 Views

A computational grammar and lexicon for Maltese

A computational grammar and lexicon for Maltese

A computational grammar and lexicon for Maltese

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the most st<strong>and</strong>ard orders which are used most commonly. This of course has the effect that the<br />

<strong>grammar</strong> would be less effective <strong>for</strong> parsing open <strong>Maltese</strong> text.<br />

2.4 Development <strong>and</strong> testing<br />

2.4.1 Development tools<br />

RGL source code browser<br />

This web-based tool 5 allows the user to browse the source code of all modules in the RGL.<br />

Its main feature is the ability to search the scope of any module, thus allowing one to quickly<br />

reach the definition of a function which is inherited from some other module. This is achieved<br />

by using the --tags flag to the GF compiler, which produces so-called .tags files which contain<br />

all functions in the scope of each module. These files are processed <strong>and</strong> loaded by the<br />

RGL browser in an asynchronous fashion. The RGL browser was build to speed up resource<br />

<strong>grammar</strong> writing, by making it easy to look at implementations in other languages in order to<br />

in<strong>for</strong>m one’s own development.<br />

Figure 2.1: Screenshot of the RGL browser tool<br />

Syntax tree editor<br />

Another web tool developed during the work described in this thesis the syntax tree editor 6 ,<br />

which allows the user to construct abstract syntax trees graphically according to some <strong>grammar</strong>.<br />

5 http://www.grammaticalframework.org/lib/doc/browse/, accessed 2013-09-05<br />

6 http://cloud.grammaticalframework.org/syntax-editor/editor.html, accessed 2013-09-05<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!