John J. Camilleri
0c3ca3d79a
Add note in PGF2 documentation about risk for integer overflow.
...
Closes #109
2021-07-06 14:43:21 +02:00
krangelov
64a2483b12
added Data.Data.Data instance for Expr
2019-02-20 13:00:51 +01:00
Krasimir Angelov
1c04fa4897
the parser for abstract expressions in the C runtime now supports partial parses
2017-09-28 13:57:13 +02:00
Krasimir Angelov
71e6562eaa
an initial sketch for PGF building API in the Haskell binding
2017-09-08 15:15:23 +02:00
Krasimir Angelov
71c4b4a246
instance Eq Expr in the Haskell binding
2017-09-04 14:49:44 +02:00
Krasimir Angelov
b7b7a7c91c
the embedded grammars now work with both the pure Haskell and the Haskell binding API
2017-08-29 18:44:50 +02:00
krasimir
94f41cc63d
safer memory management in the Haskell binding
2017-02-10 17:10:37 +00:00
krasimir
3467a54965
bring the Haskell binding a bit closer to the pure Haskell API
2017-01-26 12:48:22 +00:00
krasimir
6af632dd18
added mkMeta and unMeta in the Haskell binding
2017-01-26 10:17:02 +00:00
krasimir
be43d5dfdc
added mkAbs and unAbs in the Haskell binding
2017-01-26 10:04:42 +00:00
krasimir
14b32a115c
add unStr,unInt and unFloat in the Haskell binding
2017-01-26 06:40:13 +00:00
krasimir
db0f8b0dce
improve the documentation for PGF2
2017-01-25 20:30:54 +00:00
krasimir
9f9b23d0dd
added mkInt and mkFloat in the Haskell binding to make it easy to create literal expressions
2015-11-19 13:18:19 +00:00
hallgren
e5ec343f4f
PGF2.Expr: a fix for ghc-7.6
...
Apparently Foreign.unsafePerformIO is not just a re-export of
System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function,
so you get an ambiguity if you import both.
2015-09-10 15:07:48 +00:00
hallgren
829e1bbfd3
PGF2.Expr fixes
...
It needs to be listed in gf.cabal
unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
2015-09-03 20:41:00 +00:00
krasimir
73b41687c8
added the minimal Haskell API for storing expressions/triples in the semantic graph
2015-09-02 07:12:36 +00:00