zondag 2 oktober 2011

Projects based on subscript

On LinkedIn, someone asked me: "Do you have any examples of publicly accessible projects which based on subscript?". This was my reply:

Subscript is not yet released for application development. The current release is rather meant to raise interest in the programming language community, hoping that others will participate in the development.

There is a predecessor language, Scriptic, which extends Java. Scriptic is also hosted by Google Code. Scriptic is in production use at the organisation I work in, but that project is not publicly accessible. However, I refer to that use extensively in the slides of my lecture at Amsterdam University: http://subscript.googlecode.com/files/Event-driven%20and%20Concurrent%20Programming.ppt See sheets 23 to 30. Some more explanation:

The company I work for works a lot with certain communication protocols, among others. There are in the order of magnitude of 1 million pages in Word documents defining these protocols and their versions. We wanted to process these documents to be able to generate better traversable HTML versions, and to generate code that supports the communication protocols.

For this processing, several approaches have been taken the past years. Parsing was the hard part. It has been done using shell scripts, Perl, plain Java, and JavaCC. IMO these parsers were created with great craftmanship, but they were still hard to read, to maintain and to reuse.

Then Scriptic was used for processing of part the description of one big protocol, with success. The size of the task of parsing input now became comparable to the task of generating output. Low level parsing scripts were easy to reuse.

However, some things could and should be improved. The lessons learnt greatly influenced Scriptic's follow up, Subscript.


Geen opmerkingen:

Een reactie posten