mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-18 07:32:51 -06:00
Add support for SOFT_BIND (which PGF runtime doesn't support)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
concrete BindCnc of Bind = open Prelude in {
|
||||
lincat
|
||||
S = Str ;
|
||||
F = { s : Str } ;
|
||||
S = SS ;
|
||||
lin
|
||||
f1 = { s = "hello the" ++ BIND ++ "re" } ;
|
||||
f2 = { s = "good" ++ "bye" } ;
|
||||
FtoS f = f.s ;
|
||||
f1 = ss ("hello the" ++ BIND ++ "re") ;
|
||||
f2 = ss ("good" ++ SOFT_BIND ++ "bye") ;
|
||||
concat a b = ss (a.s ++ b.s) ;
|
||||
bind a b = ss (a.s ++ BIND ++ b.s) ;
|
||||
softbind a b = ss (a.s ++ SOFT_BIND ++ b.s) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user