John J. Camilleri
|
b47eb18f86
|
Minor additions to LPGF readme
|
2021-08-27 09:32:43 +02:00 |
|
John J. Camilleri
|
b96fa7e08a
|
Add more unit tests for missing lin functions
|
2021-08-10 11:32:51 +02:00 |
|
John J. Camilleri
|
42bdee1e5f
|
Remove workarounds for bugs in canonical format
|
2021-08-04 10:58:49 +02:00 |
|
John J. Camilleri
|
d0c27cdaae
|
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
|
2021-04-06 22:15:07 +02:00 |
|
John J. Camilleri
|
2d066853f1
|
Add unit test for literals (fails)
|
2021-03-22 08:37:59 +01:00 |
|
John J. Camilleri
|
d9c37fc093
|
Minors to LPGF readme
|
2021-03-12 13:47:36 +01:00 |
|
John J. Camilleri
|
6c6a201d96
|
Introduce state with Map for caching compilation, but results are worse
|
2021-03-12 13:39:56 +01:00 |
|
John J. Camilleri
|
8f5033e4ce
|
Add notes on profiling
|
2021-03-09 08:36:35 +01:00 |
|
John J. Camilleri
|
99abb9b2a5
|
Add Phrasebook benchmark snippet to LPGF README
|
2021-03-08 13:37:02 +01:00 |
|
John J. Camilleri
|
0d4659fe8c
|
Add workaround for missing param defs. Add links to gf-core issues in workaround comments.
|
2021-03-05 13:23:00 +01:00 |
|
John J. Camilleri
|
575a746a3e
|
Add LPGF function for catching errors. Manual fixes to Phrasebook treebank.
|
2021-03-05 12:05:25 +01:00 |
|
John J. Camilleri
|
bca1e2286d
|
New handling of tables, works for all tests but Phrasebook still fails
|
2021-03-04 16:42:56 +01:00 |
|
John J. Camilleri
|
f5886bf447
|
Add more complex param/table unit tests and pass them. Still fails on Phrasebook though.
|
2021-03-04 12:37:12 +01:00 |
|
John J. Camilleri
|
30b016032d
|
Also store Pre prefixes in token map. Introduce IntMapBuilder data structure.
Storing of prefixes uses show/read, which isn't a great solution but avoids having yet another token map.
|
2021-03-04 09:58:17 +01:00 |
|
John J. Camilleri
|
4082c006c3
|
Extract token strings and put them in map which linfuns refer to by index, to reduce LPGF sizes.
|
2021-03-04 00:16:12 +01:00 |
|
John J. Camilleri
|
3beed2c49e
|
Replace list comprehension lookups with maps. Halfway through transitioning to new strategy for tables/params, see testsuite/lpgf/README.md.
|
2021-03-03 13:26:03 +01:00 |
|
John J. Camilleri
|
dca2ebaf72
|
Add Phrasebook to testsuite. Move grammars into subfolders. Add run-bench script.
|
2021-02-20 13:22:29 +01:00 |
|
John J. Camilleri
|
9f3f4139b1
|
Grammar and languages to run in testsuite can be specified by command line options, see README
|
2021-02-19 11:14:55 +01:00 |
|
John J. Camilleri
|
51e543878b
|
Add support for wildcards when specifying modules names in benchmark compilation
|
2021-02-18 21:34:23 +01:00 |
|
John J. Camilleri
|
5240749fad
|
Make grammar and trees files command line arguments into benchmark script
|
2021-02-18 15:27:25 +01:00 |
|
John J. Camilleri
|
7a5bc2dab3
|
Separate compile/run in benchmark
|
2021-02-17 16:57:06 +01:00 |
|
John J. Camilleri
|
9a263450f5
|
Add PFG2 linearisation to benchmark
|
2021-02-17 15:30:11 +01:00 |
|
John J. Camilleri
|
8e1fa4981f
|
Add memory stats to benchmark
|
2021-02-17 15:02:39 +01:00 |
|
John J. Camilleri
|
b4fce5db59
|
Use envvars in benchmark for controlling PGF/LPGF. Add readme.
|
2021-02-17 11:44:00 +01:00 |
|