The binaries now work out of the box for each platform and support completions (file names and parsing), because readline has been changed to haskeline.
To compile from source, GHC 6.12 is now required. But GHC is not needed if the binary executables are used.
Binaries (.gfo
and .pgf
files) compiled with GF 3.1 are incompatible with 3.1.6 and must either be removed; alternatively, the -src
flag can be used when compiling.
Notice the new place to send bug reports (see GF's welcome message)!
Grammar language
SUMO
, nqueens
in examples
)Shell commands and options (see help
in GF for more information)
eb
: example-based grammar file conversion (see examples/animals/QuestionI.gf
)vd = visualize_dependency
: show dependency treevp = visualize_parse
: show parse treegr, gt, mq, tq
: use a seed tree with metavariablesgr, p, tq
: use -probs=FILE
to bias or rank generated treesgt
now tries the different alternatives in the order in which they appear in the source codedg
: hide modules when printing dependency graphLibraries
Examples
Internal
Javascript generation is not updated to the new PGF format. GF 3.1 should still be used for building Javascript applications.