mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 23:02:50 -06:00
res doc updates
This commit is contained in:
@@ -15,7 +15,7 @@ An abstract syntax:
|
||||
```
|
||||
A domain lexicon interface:
|
||||
```
|
||||
interface MusicLex = open Cat in {
|
||||
interface LexMusic = open Cat in {
|
||||
oper
|
||||
song_N : N ;
|
||||
american_A : A ;
|
||||
@@ -35,7 +35,7 @@ A functor on ``Syntax`` and the domain lexicon interface:
|
||||
```
|
||||
For each language, an instance of the domain lexicon:
|
||||
```
|
||||
instance MusicLexGer of MusicLex = CatGer ** open ParadigmsGer in {
|
||||
instance LexMusicGer of LexMusic = CatGer ** open ParadigmsGer in {
|
||||
oper
|
||||
song_N = mkN "Lied" "Lieder" neuter ;
|
||||
american_A = mkA "amerikanisch" ;
|
||||
@@ -44,7 +44,8 @@ For each language, an instance of the domain lexicon:
|
||||
For each language, an instantiation of the functor:
|
||||
```
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete MusicGer of Music = MusicI with
|
||||
(Syntax = SyntaxGer),
|
||||
(MusicLex = MusicLexGer) ;
|
||||
(LexMusic = LexMusicGer) ;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user