fredag den 20. april 2007

Java5 Grammar for Sablecc - now with prettyprinter

I have made a pretty printer for the Java5 grammar, which I posted a couple of days ago. Both referenced here and here for easy download.

I have made a number of unit tests and ran the Emma code coverage tool on the tests. It show a blessing 91.3% code coverage. There is still 8.7% of the pretty printer which is not covered, so there might still be some bugs. If you find any bug in the grammar or prettyprinter please contact me, and I will fix it as sone as possible!

onsdag den 18. april 2007

Java 5 Grammar for Sablecc 3.2

I have somehow come upon this Java 5 Grammar for Sablecc. I can't remember where I found it, thus I can not remember the name of the author, and nothing is mentioned in the file. If you know of who is the author, please do not hesitate to contact me.

I have choosen to publish it here since I have found it more than difficult to find a working implementation of the Java 5 grammar for Sablecc, and by doing so I hope others will not get into as much trouble finding it as I did.

[Edit June 8th. 2008] I have now identified the author of the grammar, Stefan Mandel, and contacted him. The grammar is released under the LGPL, and I have added a copyright notice.

tirsdag den 17. april 2007

Dissertation Advice

I have begun the task of writing progress report. In the process I have been reading a couple of advices on writing dissertations, and I thought might just as well share the best you.

Olin Shivers (Visiting DAIMI fall 2005) has a page on dissertation advice. His main point is clear: you should be able to phrase what your dissertation is about  (your thesis) in one single sentence and use it as opening line of the dissertation and whenever you need to drive home the point of your dissertation. I found his advice instructive and they are presented in a fun ironic way.

I have come up with the following thesis for my work: "Creating tools with strong security guaranties which exploits the
benefits obtained by combining confidentiality information from various sources is feasible and useful."