diff --git a/doc/gf-refman.html b/doc/gf-refman.html index e7db8829a..687e3e490 100644 --- a/doc/gf-refman.html +++ b/doc/gf-refman.html @@ -1,15 +1,32 @@ - - + + -GF Language Reference Manual - -

GF Language Reference Manual

+ GF Language Reference Manual + + + + + + +
+ +

+

+ + GF Logo + +

GF Language Reference Manual

Aarne Ranta, Krasimir Angelov
June 2014, GF 3.6
-

-

-
+

@@ -482,7 +499,7 @@ to reuse abstract and concrete modules as resources. The following table gives, for all module types, the possible module types of their extends and opens, as well as the forms of judgement legal in that module type.

- +
@@ -553,7 +570,7 @@ system, replacing modules by types and functions. This model could actually be developed towards treating modules in GF as first-class objects; so far, however, this step has not been motivated by any practical needs.

-
module type extends
+
@@ -918,7 +935,7 @@ The table moreover indicates whether the judgement has a default value, and whether it contributes to the name base, i.e. introduces a new name to the scope.

-
module object and type
+
@@ -1658,7 +1675,7 @@ inherited modules.

Here are some flags commonly included in grammars.

-
judgement where
+
@@ -1721,7 +1738,7 @@ Type and other expressions have a system of precedences. The following ta summarizes all expression forms, from the highest to the lowest precedence. Some expressions are moreover left- or right-associative.

-
flag value
+
@@ -2128,7 +2145,7 @@ where GF provides three predefined categories for abstract syntax, with predefined expressions:

-
prec expression example
+
@@ -2264,7 +2281,7 @@ Expressions of type Str have the following canonical forms:
  • the empty token list, []
  • concatenation, s ++ t, where s,t : Str
  • prefix-dependent choice, - pre {p1 => s1 ; ... ; pn => sn ; _ => s }, where + pre {p1 => s1 ; ... ; pn => sn ; _ => s }, where
    • s, s1,...,sn, p1,...,pn : Str
    @@ -3016,7 +3033,7 @@ The following predefined operations are defined in the resource module prelude/Predef.gf. Their implementations are defined as a part of the GF grammar compiler.

    -
  • category expressions
    +
    @@ -3181,7 +3198,7 @@ the abstract syntax. Compiler pragmas are a special form of comments prefixed with --#. Currently GF interprets the following pragmas.

    -
    operation type
    +
    @@ -3279,7 +3296,7 @@ The rules have the form where an RHS can be any regular expression built from quoted strings and category symbols, in the following ways:

    -
    pragma explanation
    +
    @@ -4579,6 +4596,6 @@ All other symbols are terminals.
    RHS item explanation
    -

    - - +
    + +