kr.angelov
426bc49a52
a major refactoring in the C and the Haskell runtimes. Note incompatible change in the PGF format!!!
...
The following are the outcomes:
- Predef.nonExist is fully supported by both the Haskell and the C runtimes
- Predef.BIND is now an internal compiler defined token. For now
it behaves just as usual for the Haskell runtime, i.e. it generates &+.
However, the special treatment will let us to handle it properly in
the C runtime.
- This required a major change in the PGF format since both
nonExist and BIND may appear inside 'pre' and this was not supported
before.
2013-09-27 15:09:48 +00:00
kr.angelov
f8fe23fda7
A basic infrastructure for generating Teyjus bytecode from the GF abstract syntax
2012-08-29 11:43:02 +00:00
kr.angelov
416d231c5e
Now PMCFG is compiled per module and at the end we only link it. The new compilation schema is few times faster.
2011-11-10 14:09:41 +00:00
krasimir
cb8795c222
refactor the API for random generation again. Now PGF contains probabilities in the abstract syntax
2010-10-02 13:03:57 +00:00
krasimir
b0e110cf4f
native representation for HOAS in PMCFG and incremental type checking of the parse forest
2010-08-09 10:10:08 +00:00
krasimir
eb0bd54e68
rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float)
2010-06-30 07:40:22 +00:00
krasimir
5428049d80
in PGF.Printer special output format for SymLit
2010-06-29 09:05:07 +00:00
krasimir
fd3cddcf5e
PGF.Printer now dumps the printnames as well
2010-06-18 10:04:10 +00:00
krasimir
e8099d1f51
in PGF, when printing function and category definitions, add semicolon
2010-05-11 12:50:51 +00:00
krasimir
8460598801
first incarnation of the bracketed string API
2010-04-30 14:36:06 +00:00
krasimir
68482aa7e9
now for every category we store, in PGF, the list of functions for it in source-code order. The order matters for the termination of the exhaustive generation with dependent types.
2010-03-24 11:11:55 +00:00
krasimir
f870c4d80f
syntax for inaccessible patterns in GF
2010-03-18 19:34:30 +00:00
krasimir
b5d9ae552d
-output-format=pgf_pretty now prints the flags as well
2010-02-17 10:20:49 +00:00
krasimir
32f9499f2e
fix the PGF printer for abstract
2010-02-16 21:47:58 +00:00
krasimir
3b7e39fa4a
bugfix in the PGF typechecker and more test cases
2010-01-29 21:10:14 +00:00
krasimir
890d455793
cleanup the code of the PGF interpreter and polish the binary serialization to match the preliminary specification
2010-01-27 09:39:14 +00:00
krasimir
9b362ff231
PGF is now real synchronous PMCFG
2010-01-17 21:35:36 +00:00