1
0
forked from GitHub/gf-core
Files
gf-core/old-examples/query

Aarne Ranta 6/5/2004; revised 10/5/2005 for GF 2.2, 21/4/2006 for GF 2.5.

An example of database query system for Lab 2 of language technology course.

To compile:

  Create a link to GF sources, by

      make link

  Create the file GSyntax.hs and the executable query

      make

To run:

      ./query

Examples:

      is 4567 prime
      which numbers are prime