forked from GitHub/gf-rgl
added all orthographic primitives
This commit is contained in:
@@ -36,9 +36,12 @@ resource Predef = {
|
|||||||
oper toStr : (L : Type) -> L -> Str = variants {} ; -- find the "first" string
|
oper toStr : (L : Type) -> L -> Str = variants {} ; -- find the "first" string
|
||||||
oper mapStr : (L : Type) -> (Str -> Str) -> L -> L = variants {} ;
|
oper mapStr : (L : Type) -> (Str -> Str) -> L -> L = variants {} ;
|
||||||
-- map all strings in a data structure; experimental ---
|
-- map all strings in a data structure; experimental ---
|
||||||
oper nonExist : Str = variants {} ; -- a placeholder for non-existant morphological forms
|
|
||||||
oper BIND : Str = variants {} ; -- a token for gluing
|
oper nonExist : Str = variants {} ; -- a placeholder for non-existant morphological forms
|
||||||
oper SOFT_BIND : Str = variants {} ; -- a token for soft gluing
|
oper BIND : Str = variants {} ; -- a token for gluing
|
||||||
oper CAPIT : Str = variants {} ; -- a token for capitalization
|
oper SOFT_BIND : Str = variants {} ; -- a token for soft gluing
|
||||||
|
oper SOFT_SPACE : Str = variants {} ; -- a token for soft space
|
||||||
|
oper CAPIT : Str = variants {} ; -- a token for capitalization
|
||||||
|
oper ALL_CAPIT : Str = variants {} ; -- a token for capitalization of abreviations
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
-- This file defines some prelude facilities usable in all grammars.
|
-- This file defines some prelude facilities usable in all grammars.
|
||||||
|
|
||||||
resource Prelude = Predef[nonExist, BIND, SOFT_BIND, CAPIT] ** open (Predef=Predef) in {
|
resource Prelude = Predef[nonExist, BIND, SOFT_BIND, SOFT_SPACE, CAPIT, ALL_CAPIT] ** open (Predef=Predef) in {
|
||||||
|
|
||||||
oper
|
oper
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user