Commit Graph

1585 Commits

Author SHA1 Message Date
aarne
fcbc004aa6 record labels in compiler experiment 2007-04-20 15:36:33 +00:00
aarne
fc2c3cf057 bib entry 2007-03-31 15:53:36 +00:00
aarne
b072f0e668 bracket 2007-03-29 14:11:14 +00:00
aarne
1713c5e146 links in gf course 2007-03-29 14:09:53 +00:00
aarne
0cabdd518e I want phrases in thai travel 2007-03-28 14:40:29 +00:00
aarne
fd518ed2a3 primitive pattern matching 2007-03-27 20:54:49 +00:00
aarne
7c30d211c3 distinct form for opers that have no value 2007-03-27 16:40:54 +00:00
aarne
1c1acf1b97 top-level toy compiler - far from complete 2007-03-27 16:32:44 +00:00
bringert
273dc7120f Nicer formatting of generated GSL. 2007-03-27 10:21:16 +00:00
aarne
22c4a046e7 started eval 2007-03-26 21:13:37 +00:00
aarne
b36f70e6fd toy target language 2007-03-26 21:02:30 +00:00
bringert
5abf240a98 Remove all empty SLF nodes, don't care about edge explosion. Empty nodes are pprobably worse than lots of edges. 2007-03-26 17:36:58 +00:00
bringert
3797cfd11e Use EBNF compaction for GSL. 2007-03-26 14:51:24 +00:00
bringert
5faf418f4e Fixed SISR bug. 2007-03-26 13:12:04 +00:00
aarne
48b8a1345a param encoding 2007-03-25 19:16:47 +00:00
bringert
005ad917d9 Added directly cyclic SRG test case. 2007-03-25 16:44:30 +00:00
bringert
90ddf726c1 Give SRG test cases human-readable names. 2007-03-25 16:42:52 +00:00
bringert
de0ca9f533 commented LC_LR modification 2007-03-25 16:34:53 +00:00
bringert
4490e256a8 Also remove indirectly cyclic productions. 2007-03-25 16:34:35 +00:00
bringert
80ea351e5e Removed srg0006, it was a duplicate of srg0002 2007-03-25 16:34:11 +00:00
bringert
85072fb6b2 Added srg0006: A grammar with a cycle caused by an empty production. 2007-03-25 16:11:51 +00:00
bringert
4331167011 Comments only. 2007-03-25 11:26:03 +00:00
bringert
ed1e7f4485 SRG generation: merge categories with identical set of productions. The LC_LR algorithm produces lots of those, especially when there is little inflection. 2007-03-24 23:29:38 +00:00
aarne
436ddd5ebf simple source language for compiler experiment 2007-03-24 23:11:59 +00:00
bringert
4fdc0b598a Modified the LC_LR implementation to only produce rules using A-X categories when those categories have any productions. 2007-03-24 17:30:04 +00:00
bringert
61456fd9ca Better debugging output when SRG generation crashes because of a missing category. 2007-03-24 17:26:21 +00:00
bringert
2885cfc5ac Just renaming in srg0005 2007-03-24 17:25:07 +00:00
bringert
eca7f691a6 Shrunk srg0005 2007-03-24 15:48:29 +00:00
bringert
407b4bea9c More srg test cases. 2007-03-24 15:34:33 +00:00
bringert
e52adbde2e Added srg0004: a simple left-recursive grammar. 2007-03-24 15:13:18 +00:00
aarne
45f7684de1 components 2007-03-23 18:28:26 +00:00
aarne
25d4b89798 gf course description 2007-03-23 18:27:05 +00:00
bringert
5dc92edbb0 Added srg0003: test case for indirect cycles. 2007-03-23 18:13:38 +00:00
bringert
ccb76f5da0 Uncommented troublesome rules in srg0002 2007-03-23 18:10:21 +00:00
bringert
94813f9ffb Added test case which demonstrates a bug with implicit left recusion in SRG generation. 2007-03-23 18:09:22 +00:00
bringert
7ae2e01678 Remove removeIdenticalRules, since it would get rid of alternative parse results. 2007-03-20 22:09:17 +00:00
bringert
00e681aee8 Do the same initial transformations as for CFGs when generating FAs: remove cycles, identical rules and down top-down and bottom-up filtering. 2007-03-20 22:00:50 +00:00
bringert
50614d399a Do top-down and bottom-up filtering together to a fixed point. 2007-03-20 21:59:36 +00:00
bringert
fa33c22e07 Moved code and comments around in TransformCFG. 2007-03-20 21:35:24 +00:00
bringert
a8d356d599 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00
bringert
fbe8282027 Removed dead export list. 2007-03-20 21:15:43 +00:00
bringert
2230a28e21 Removed fixed FIXMEs. 2007-03-20 21:15:26 +00:00
bringert
3dacf21a41 Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG. 2007-03-19 18:03:19 +00:00
aarne
232c9cbb37 thai phrase translator 2007-03-16 16:23:39 +00:00
aarne
f7ce8940fa ma -status; sep lines for l -all 2007-03-14 12:11:18 +00:00
aarne
98fcad148e bib entries 2007-03-01 20:10:25 +00:00
aarne
6248b4a1c7 model for resource 2007-02-28 15:49:13 +00:00
aarne
b789031396 parsing method in EmbedAPI 2007-02-28 10:37:37 +00:00
aarne
016d43e26b cc output as pipable string 2007-02-24 09:16:30 +00:00
aarne
5264780e67 cc -table 2007-02-23 16:28:06 +00:00