summaryrefslogtreecommitdiff
path: root/examples/query/README
blob: e1ce930984591c302472206761a31a59f8ad256c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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