Archive for January, 2007

Emdros version 1.2.0.pre236 released

Thursday, January 25th, 2007

Hot on the heels of 1.2.0.pre234 comes 1.2.0.pre236:

 http://emdros.org/download.html

This release sees the addition of support for Mac OS X Universal Binaries, as well as fixing an obscure bug related to CREATE OBJECTS HAVING MONADS IN.

Ulrik

Emdros 1.2.0.pre234 is out

Saturday, January 20th, 2007

I’ve released version 1.2.0.pre234:

http://emdros.org/download.html

Enjoy!

Ulrik

Regression-testing Emdros

Wednesday, January 17th, 2007

It suddenly dawned on my otherwise benighted cogitatation-device a few days ago, that a good answer to the problem of adding more regression tests to Emdros would be to have a file, in which MQL queries and their expected output were placed together.

Last night I designed a simple little file format which fits this need.  It is processed with a small Python script to a C++ header file containing an array of QueryAnswer objects. A QueryAnswer is an object that holds both a query and its expected answer, along with a few booleans such as whether a compiler error is expected, and whether to create a new database before this query starts.

I then proceeded to adding more than 135 regression tests. As a result, I caught five obscure bugs in Emdros. Most of the bugs are so obscure that it is unlikely that many would have run into these bugs.  Except for one of them, which involved a segfault on queries of the type GET OBJECTS HAVING MONADS IN [myObjectType GET ALL], the operative clause being “GET ALL”.

Most of the MQL engine is now tested with the regression test machinery, including most error messages. The machinery even checks that the correct/expected error message is emitted in case an error is expected.  Although I should say, the statement that “most” of the MQL engine is tested remains a conjecture.  Hence, I look forward to trying with gcov to see what the real percentage of coverage is.

Emdros example: Tischendorf version 1.5

Tuesday, January 9th, 2007

I have released version 1.5 of the Tischendorf example database for Emdros.

http://sourceforge.net/project/showfiles.php?group_id=37219&package_id=156933&release_id=476982

This example database contains a fully morphologically analyzed and lemmatized Greek New Testament, ready to load into Emdros.

Enjoy!

Ulrik