-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPGF: Linearisation-only PGF format #103
base: master
Are you sure you want to change the base?
Commits on Jan 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8ad9cf1 - Browse repository at this point
Copy the full SHA 8ad9cf1View commit details
Commits on Jan 22, 2021
-
Add first version of LPGF datatype, with linearization function and s…
…ome hardcoded examples
Configuration menu - View commit details
-
Copy full SHA for 93b81b9 - Browse repository at this point
Copy the full SHA 93b81b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5881d - Browse repository at this point
Copy the full SHA cd5881dView commit details
Commits on Jan 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f24c503 - Browse repository at this point
Copy the full SHA f24c503View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32b0860 - Browse repository at this point
Copy the full SHA 32b0860View commit details -
Configuration menu - View commit details
-
Copy full SHA for 270e7f0 - Browse repository at this point
Copy the full SHA 270e7f0View commit details
Commits on Jan 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6f622b4 - Browse repository at this point
Copy the full SHA 6f622b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cead0cc - Browse repository at this point
Copy the full SHA cead0ccView commit details
Commits on Feb 1, 2021
-
Use canonical GF in LPGF compiler
Still contains some hardcoded values, missing cases. I notice now that LPGF and Canonical GF are almost identical, so maybe we don't need a new LPGF format, just a linearization-only runtime which works on canonical grammars. The argument for keeping LGPF is that it would be optimized for size and speed.
Configuration menu - View commit details
-
Copy full SHA for fe15aa0 - Browse repository at this point
Copy the full SHA fe15aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a58500 - Browse repository at this point
Copy the full SHA 2a58500View commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c94bffe - Browse repository at this point
Copy the full SHA c94bffeView commit details -
Separate .trees and .treebank, and add a script for making the latter…
… from the former
Configuration menu - View commit details
-
Copy full SHA for d09838e - Browse repository at this point
Copy the full SHA d09838eView commit details -
Support nested parameters, but fails with non-static values (see Food…
…sBull, `ASg kind.g`).
Configuration menu - View commit details
-
Copy full SHA for 153bffd - Browse repository at this point
Copy the full SHA 153bffdView commit details
Commits on Feb 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 132f693 - Browse repository at this point
Copy the full SHA 132f693View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42b9e70 - Browse repository at this point
Copy the full SHA 42b9e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34f0fc0 - Browse repository at this point
Copy the full SHA 34f0fc0View commit details
Commits on Feb 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9c2d8eb - Browse repository at this point
Copy the full SHA 9c2d8ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5f6897 - Browse repository at this point
Copy the full SHA d5f6897View commit details
Commits on Feb 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a12f58e - Browse repository at this point
Copy the full SHA a12f58eView commit details
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8cfaa69 - Browse repository at this point
Copy the full SHA 8cfaa69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f6136 - Browse repository at this point
Copy the full SHA 98f6136View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58a6c8 - Browse repository at this point
Copy the full SHA a58a6c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d563abb - Browse repository at this point
Copy the full SHA d563abbView commit details
Commits on Feb 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1098226 - Browse repository at this point
Copy the full SHA 1098226View commit details
Commits on Feb 15, 2021
-
Add FoodsFre, fails because pre is not implemented
Also an unhandled Projection case
Configuration menu - View commit details
-
Copy full SHA for 4f0abe5 - Browse repository at this point
Copy the full SHA 4f0abe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1217b - Browse repository at this point
Copy the full SHA 4d1217bView commit details
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 23e49cd - Browse repository at this point
Copy the full SHA 23e49cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f14c2 - Browse repository at this point
Copy the full SHA 21f14c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d394cac - Browse repository at this point
Copy the full SHA d394cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 398b294 - Browse repository at this point
Copy the full SHA 398b294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7227ede - Browse repository at this point
Copy the full SHA 7227edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c06c3f - Browse repository at this point
Copy the full SHA 4c06c3fView commit details -
Finish type passing in val2lin, generalise projection case and pass F…
…oodsFre testsuite.
Configuration menu - View commit details
-
Copy full SHA for 2d03b9e - Browse repository at this point
Copy the full SHA 2d03b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312cfeb - Browse repository at this point
Copy the full SHA 312cfebView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5cf00f - Browse repository at this point
Copy the full SHA d5cf00fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be21db - Browse repository at this point
Copy the full SHA 5be21dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29114ce - Browse repository at this point
Copy the full SHA 29114ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 768c3d9 - Browse repository at this point
Copy the full SHA 768c3d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 236dbdb - Browse repository at this point
Copy the full SHA 236dbdbView commit details
Commits on Feb 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d3988f9 - Browse repository at this point
Copy the full SHA d3988f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a7ead0 - Browse repository at this point
Copy the full SHA 6a7ead0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4fce5d - Browse repository at this point
Copy the full SHA b4fce5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e1fa49 - Browse repository at this point
Copy the full SHA 8e1fa49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a26345 - Browse repository at this point
Copy the full SHA 9a26345View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a5bc2d - Browse repository at this point
Copy the full SHA 7a5bc2dView commit details
Commits on Feb 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d8557e8 - Browse repository at this point
Copy the full SHA d8557e8View commit details -
When projecting a non-existent field, return Prelude.False
This seems to be GF's own behaviour, as exhibited by the canonical version of PhrasebookTha: NNumeral Numeral_0 = {s = Numeral_0.s; hasC = <>.hasC};
Configuration menu - View commit details
-
Copy full SHA for 866a210 - Browse repository at this point
Copy the full SHA 866a210View commit details -
Configuration menu - View commit details
-
Copy full SHA for e607952 - Browse repository at this point
Copy the full SHA e607952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5240749 - Browse repository at this point
Copy the full SHA 5240749View commit details -
Force evaluation in benchmark linearisation
BangPatterns only does WHNF which is not sufficient, previous benchmark results are thus wrong
Configuration menu - View commit details
-
Copy full SHA for 625386a - Browse repository at this point
Copy the full SHA 625386aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e5438 - Browse repository at this point
Copy the full SHA 51e5438View commit details
Commits on Feb 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2b0493e - Browse repository at this point
Copy the full SHA 2b0493eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 023b505 - Browse repository at this point
Copy the full SHA 023b505View commit details -
Configuration menu - View commit details
-
Copy full SHA for 505c12c - Browse repository at this point
Copy the full SHA 505c12cView commit details -
Grammar and languages to run in testsuite can be specified by command…
… line options, see README
Configuration menu - View commit details
-
Copy full SHA for 9f3f413 - Browse repository at this point
Copy the full SHA 9f3f413View commit details -
Filter out record fields which don't exist in lintype
This is to work around an inconsistency in the canonical representation
Configuration menu - View commit details
-
Copy full SHA for 5ad5789 - Browse repository at this point
Copy the full SHA 5ad5789View commit details
Commits on Feb 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dca2eba - Browse repository at this point
Copy the full SHA dca2ebaView commit details
Commits on Feb 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9942908 - Browse repository at this point
Copy the full SHA 9942908View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a393a - Browse repository at this point
Copy the full SHA b4a393aView commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 20290be - Browse repository at this point
Copy the full SHA 20290beView commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8324ad8 - Browse repository at this point
Copy the full SHA 8324ad8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5d735 - Browse repository at this point
Copy the full SHA 6a5d735View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9785f83 - Browse repository at this point
Copy the full SHA 9785f83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4771d9c - Browse repository at this point
Copy the full SHA 4771d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f42b5ec - Browse repository at this point
Copy the full SHA f42b5ecView commit details
Commits on Feb 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 83bc3c9 - Browse repository at this point
Copy the full SHA 83bc3c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33e0e98 - Browse repository at this point
Copy the full SHA 33e0e98View commit details
Commits on Mar 3, 2021
-
Remove LF prefix from constructors. Pass all unit tests and Foods aga…
…in, but improvements/cleanup still necessary.
Configuration menu - View commit details
-
Copy full SHA for 4c09e4a - Browse repository at this point
Copy the full SHA 4c09e4aView commit details -
It probably ends up being the same thing, but the code is a little cleaner for it.
Configuration menu - View commit details
-
Copy full SHA for 997d7c1 - Browse repository at this point
Copy the full SHA 997d7c1View commit details -
Improve mkTreebank script. Add 100-tree Phrasebook treebank. Improve …
…output in testsuite.
Configuration menu - View commit details
-
Copy full SHA for a8e3dc8 - Browse repository at this point
Copy the full SHA a8e3dc8View commit details -
Replace list comprehension lookups with maps. Halfway through transit…
…ioning to new strategy for tables/params, see testsuite/lpgf/README.md.
Configuration menu - View commit details
-
Copy full SHA for 3beed2c - Browse repository at this point
Copy the full SHA 3beed2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for adc162b - Browse repository at this point
Copy the full SHA adc162bView commit details -
Extract token strings and put them in map which linfuns refer to by i…
…ndex, to reduce LPGF sizes.
Configuration menu - View commit details
-
Copy full SHA for 4082c00 - Browse repository at this point
Copy the full SHA 4082c00View commit details
Commits on Mar 4, 2021
-
Also store Pre prefixes in token map. Introduce IntMapBuilder data st…
…ructure. Storing of prefixes uses show/read, which isn't a great solution but avoids having yet another token map.
Configuration menu - View commit details
-
Copy full SHA for 30b0160 - Browse repository at this point
Copy the full SHA 30b0160View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba0438 - Browse repository at this point
Copy the full SHA 0ba0438View commit details -
Add more complex param/table unit tests and pass them. Still fails on…
… Phrasebook though.
Configuration menu - View commit details
-
Copy full SHA for f5886bf - Browse repository at this point
Copy the full SHA f5886bfView commit details -
Add more tests to Params5 which cause it to fail again
Originally found in PhrasebookFre
Configuration menu - View commit details
-
Copy full SHA for 94f76b9 - Browse repository at this point
Copy the full SHA 94f76b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bca1e22 - Browse repository at this point
Copy the full SHA bca1e22View commit details -
Improve base case in table handling, cleanup. Add run-phrasebook scri…
…pt, current output: Bul ✗ Cat ✗ Chi ✓ Dan ✓ Dut ✓ Eng ✓ Est ✓ Fin ✗ Fre ✗ Ger ✓ Hin ✓ Ita ✗ Jpn ✓ Lav ✓ Nor ✓ Pol ✓ Ron ✓ Snd ✗ Spa ✗ Swe ✓ Tha ✓ Urd ✓ Passed 15 | Failed 7 | Total 22
Configuration menu - View commit details
-
Copy full SHA for 70581c2 - Browse repository at this point
Copy the full SHA 70581c2View commit details
Commits on Mar 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 575a746 - Browse repository at this point
Copy the full SHA 575a746View commit details -
Add workaround for missing param defs. Add links to gf-core issues in…
… workaround comments.
Configuration menu - View commit details
-
Copy full SHA for 0d4659f - Browse repository at this point
Copy the full SHA 0d4659fView commit details -
Make removal of record fields recursive. Latest results with Phrasebook:
Bul ✓ Cat ✗ Chi ✓ Dan ✓ Dut ✓ Eng ✓ Est ✓ Fin ✓ Fre ✗ Ger ✓ Hin ✓ Ita ✗ Jpn ✓ Lav ✓ Nor ✓ Pol ✓ Ron ✓ Snd ✗ Spa ✓ Swe ✓ Tha ✓ Urd ✓ Passed 18 | Failed 4 | Total 22
Configuration menu - View commit details
-
Copy full SHA for dbf369a - Browse repository at this point
Copy the full SHA dbf369aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f4b349 - Browse repository at this point
Copy the full SHA 0f4b349View commit details
Commits on Mar 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 785d606 - Browse repository at this point
Copy the full SHA 785d606View commit details -
Configuration menu - View commit details
-
Copy full SHA for c76efcf - Browse repository at this point
Copy the full SHA c76efcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd07946 - Browse repository at this point
Copy the full SHA fd07946View commit details -
Switch to 10000-tree Phrasebook treebank. All errors to do with missi…
…ng functions, plus variants in German.
Configuration menu - View commit details
-
Copy full SHA for 3e9d128 - Browse repository at this point
Copy the full SHA 3e9d128View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99abb9b - Browse repository at this point
Copy the full SHA 99abb9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 126b61e - Browse repository at this point
Copy the full SHA 126b61eView commit details
Commits on Mar 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8f5033e - Browse repository at this point
Copy the full SHA 8f5033eView commit details
Commits on Mar 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6c6a201 - Browse repository at this point
Copy the full SHA 6c6a201View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f0867 - Browse repository at this point
Copy the full SHA c9f0867View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c37fc - Browse repository at this point
Copy the full SHA d9c37fcView commit details
Commits on Mar 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f900ea3 - Browse repository at this point
Copy the full SHA f900ea3View commit details
Commits on Mar 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2d06685 - Browse repository at this point
Copy the full SHA 2d06685View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7df62a - Browse repository at this point
Copy the full SHA f7df62aView commit details
Commits on Apr 6, 2021
-
Make GF.Grammar.Canonical.Id a type synonym for GF.Infra.Ident.RawIdent
This avoids a lot of conversion back and forth between Strings and ByteStrings
Configuration menu - View commit details
-
Copy full SHA for d0c27cd - Browse repository at this point
Copy the full SHA d0c27cdView commit details
Commits on Apr 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c1af405 - Browse repository at this point
Copy the full SHA c1af405View commit details
Commits on Jul 7, 2021
-
Merge branch 'master' into lpgf
# Conflicts: # gf.cabal # src/compiler/GF/Compile/GrammarToCanonical.hs # src/compiler/GF/Grammar/Canonical.hs # src/compiler/GF/Infra/Option.hs
Configuration menu - View commit details
-
Copy full SHA for 4bd26ea - Browse repository at this point
Copy the full SHA 4bd26eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be54ff - Browse repository at this point
Copy the full SHA 2be54ffView commit details -
Merge branch 'master' into lpgf
# Conflicts: # gf.cabal # src/compiler/GF/Grammar/Canonical.hs
Configuration menu - View commit details
-
Copy full SHA for 045def6 - Browse repository at this point
Copy the full SHA 045def6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b8d792 - Browse repository at this point
Copy the full SHA 2b8d792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b06378 - Browse repository at this point
Copy the full SHA 7b06378View commit details
Commits on Jul 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d641608 - Browse repository at this point
Copy the full SHA d641608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc396e - Browse repository at this point
Copy the full SHA 7dc396eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2315641 - Browse repository at this point
Copy the full SHA 2315641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89a01d8 - Browse repository at this point
Copy the full SHA 89a01d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6e26e0 - Browse repository at this point
Copy the full SHA d6e26e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c02a3e0 - Browse repository at this point
Copy the full SHA c02a3e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 639f1f0 - Browse repository at this point
Copy the full SHA 639f1f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e681e4d - Browse repository at this point
Copy the full SHA e681e4dView commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1b8a9b3 - Browse repository at this point
Copy the full SHA 1b8a9b3View commit details
Commits on Aug 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e2ed512 - Browse repository at this point
Copy the full SHA e2ed512View commit details
Commits on Aug 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 42bdee1 - Browse repository at this point
Copy the full SHA 42bdee1View commit details
Commits on Aug 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b96fa7e - Browse repository at this point
Copy the full SHA b96fa7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48dba4a - Browse repository at this point
Copy the full SHA 48dba4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce1cea - Browse repository at this point
Copy the full SHA 1ce1ceaView commit details
Commits on Aug 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b47eb18 - Browse repository at this point
Copy the full SHA b47eb18View commit details