Files
gf-core/lib/src/persian/TextPes.gf
virk.shafqat 052c75a71c PersianRG
2011-06-13 18:23:30 +00:00

12 lines
323 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
concrete TextPes of Text = CommonX - [Temp,TTAnt,Tense,TPres,TPast,TFut,TCond] ** {
-- This works for the special punctuation marks of Persian.
lin
TEmpty = {s = []} ;
TFullStop x xs = {s = x.s ++ "۔" ++ xs.s} ;
TQuestMark x xs = {s = x.s ++ "" ++ xs.s} ;
TExclMark x xs = {s = x.s ++ "" ++ xs.s} ;
}