summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-01-14 14:35:39 +0000
committerhallgren <hallgren@chalmers.se>2015-01-14 14:35:39 +0000
commit20b271a2383d81806efdbf8d35f17f989ce770a6 (patch)
tree4924aa32decf9df14b887ec177a4015eb1c7b6c7 /index.html
parent2e642ace8acd81d71d943e59201770b1470c425b (diff)
Translating linearization functions to Haskell: better treatment of special tokens
Common code has been lifted out from the generated Haskell modules to an auxiliary module PGF.Haskell, which is currently included in the regular PGF library, although it is independent of it and probably belongs in a separate library. The type Str used by linearization functions is now based on a token type Tok, which is defined in PGF.Haskell. PGF.Haskell.Tok is similar to the type GF.Data.Str.Tok, but it has constructors for the special tokens BIND, SOFT_BIND and CAPIT, and there is a function fromStr :: Str -> String that computes the effects of these special tokens.
Diffstat (limited to 'index.html')
0 files changed, 0 insertions, 0 deletions