forked from GitHub/gf-core
23 lines
370 B
Plaintext
23 lines
370 B
Plaintext
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
|