Headline

A Technology:LogicBlox-based implementation that makes use of a project file

Motivation

This implementation revises Contribution:basicLb to use compilation. To this end, a project file is used to collect all compilable blocks. The actual Language:DatalogLB files are retained, as is. That is, no extra module declarations are added to the files. (Using this approach, active blocks can be compiled, whereas inactive blocks are execcuted with bloxbath with the help of .lb files.) See Contribution:modularLb for a fully modularized implementation which also uses "lb" instead "bloxbatch".

Architecture

The implementation consists of these files:

  • schema.logic: the schema for companies
  • instance.logic: the Acme company (and another company for testing)
  • instance.lb: a bloxbatch script to process instance.logic.
  • total.logic: the query for totaling salaries
  • total.lb: a bloxbatch script to process total.logic.
  • cut.logic: the delta for cutting salaries
  • Makefile: script for running the implementation
  • baseline: baseline for regression testing

Usage

Tested with Technology:LogicBlox 3.7.

Run "make" for a self-testing illustration.


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.