Intent

demonstrate Kiama

Motivation

Kiama provides several advanced programming concepts: context-sensitive attribute equations, circular attribute equations, rewrite rules and higher-order rewriting strategies. The present implementation puts to work some of them for the benefit of a declarative and concise implementation of the 101companies system.

Usage

Use the simple-build-tool to build: sbt script for Unix and MacOSX and sbt.bat script for Windows.

(One time only) Download Scala compiler and needed libraries:

$ ./sbt update

This downloads and installs the relevant jars in your project, so you need to be on the net for it to work.

The remaining steps can be performed without a net connection.

To compile the project (if necessary) and run the main program:

$ ./sbt run
399747.0
199873.5
3

To run the tests with logging:

$ ./sbt info test


There are no revisions for this page.

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.