Commit Graph
100 Commits
Author SHA1 Message Date
bringert 91cfeabcff More consistent use of RTS flags in lib/resource/Makefile. 2007-12-13 13:27:27 +00:00
bringert f848448f73 Expose AbsGFCC and DataGFCC in gf-embed.cabal, since code generated by -haskell needs them. 2007-12-05 21:41:38 +00:00
bringert 48d199fb35 Update GF-embed.cabal to use expose GF.GFCC.API. This pulls in a lot fewer modules than the old version. Use Cabal configurations to compile on 6.8.1. This unfortunately means that users of GHC < 6.8 must upgrade to Cabal 1.2 or greater. 2007-12-05 20:05:42 +00:00
bringert 735790a1b6 Set GF_LIB_PATH to .. in resource-1.0/Makefile to find Prelude. 2007-12-03 15:37:20 +00:00
bringert eb31512869 Haskell GSyntax printer?: encode generated code as UTF-8. Current GHC versions treat source files as UTF-8 encoded. 2007-11-28 13:45:49 +00:00
bringert 2ea966ba96 Added install-gf3 target. Use EXEEXT to get correct gf3 file name on Windows. 2007-11-12 16:18:01 +00:00
bringert 48a4570e64 Use configure to produce a gfc script with the correct path to gf3. NOTE: you need to re-run autoconf after pulling this patch. 2007-11-12 16:17:04 +00:00
bringert bfb04e5eb0 Fix pre token bug in JS, both in gf and gfc. Pre tokens are still treated like normal tokens, but at least the generated code should be correct now. 2007-11-09 15:09:09 +00:00
bringert 3cbaf00c3c Remove multimodal from 'compiled' in lib/resource-1.0/Makefile to work around import error. 2007-11-09 11:57:45 +00:00
bringert 97944abdd9 Synopsis: no duplicate sections for syntactic categories. 2007-11-06 09:47:38 +00:00
bringert 1d3b691a75 Remove some trailing commas in category explanations. 2007-11-05 23:07:57 +00:00
bringert d036aa343e Added tooltips to category links in types and in the image map. 2007-11-05 23:04:21 +00:00
bringert 07ba82e567 Link multi-cat boxes in synopsis pic to sensible defaults. 2007-11-05 22:51:56 +00:00
bringert f550235118 Added image map links to the category overview picture in the synopsis. It doesn't work for the nodes that have non-category names, like the ones with multiple categories in them. This could be fixed in categories.dot. 2007-11-05 22:39:33 +00:00
bringert 4e59da0c16 Synopsis: add sections for lexical categories. They are still empty, but at least most links work now. The links to param types still don't work. 2007-11-05 22:18:01 +00:00
bringert b241cc1309 Synopsis: include explanation in category titles 2007-11-05 22:05:07 +00:00
bringert 2341bd289a Regenerated synopsis.html 2007-11-05 18:06:06 +00:00
bringert 411fce46b8 Some clean-up of category explanations in Common.gf and Cat.gf. 2007-11-05 18:05:18 +00:00
bringert f7fa5a3393 Synopsis: include category explanation in each category section. 2007-11-05 18:01:06 +00:00
bringert 1802021fe1 Refactor MkSynopsis and add links to categories in function types. There are still links to non-existing anchors for lexical categories and parameter types. 2007-11-05 17:22:57 +00:00
bringert 8e20034e18 Added a space in one of the types of mkCl to allow MkSynopsis to use words to find the categories in the type. 2007-11-05 16:55:32 +00:00
bringert fe49c9f1bf Added anchors to category constructors in synopsis, and links form the explanations table. The categories in function types should also be links, but that is a bit difficult with the current MkSynopsis implementation which inspects the generated txt2tags code to make the section headr for each category. 2007-11-05 10:48:58 +00:00
bringert 6f0009b11b Added explicit export list to ParGF. 2007-11-01 10:10:30 +00:00
bringert 851ca1c544 Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy 1.17. This seems to fix some of the less informative parsing error messages. 2007-11-01 10:08:32 +00:00
bringert 3c62bcf14e Change .gfc .gfr to .gf? in lib/resource-1.0/Makefile. This makes it easier to experiment with gfc. 2007-10-30 13:53:41 +00:00
bringert ec7141fb4e Added type signature to fix GHC 6.8 problem reported by Jean-Philippe. 2007-10-30 09:51:14 +00:00
bringert b326744a46 Added --output-name to GF.Devel.GFC.Options. Inspired by peb's --output-base suggestion. 2007-10-23 12:19:11 +00:00
bringert 73a384b359 Added --output-dir to GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:15:01 +00:00
bringert 4e8d6b2c02 Allow multiple output formats in GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:11:48 +00:00
bringert 16f3df2311 Added Show isntance generation to haskell_gadt. 2007-10-20 18:57:38 +00:00
bringert 9d7a9a95b1 Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt. 2007-10-20 18:42:16 +00:00
bringert 3edf2e8e97 Added some more versions of symb: symb : N -> Num -> NP, symb : Det -> N -> Num -> NP and symb : Det -> CN -> Num -> NP. The latter two use ApposCN instead of CNNumNP. I suspect that we could get rid of CNNumNP and friends altogether and use ApposCN + NumPN instead. 2007-10-19 16:56:35 +00:00
bringert 0341fd142a Added NumPN to Symbol. 2007-10-19 16:56:22 +00:00
bringert 5d16f23704 Fixed link to resource grammar synopsis. 2007-10-17 16:18:13 +00:00
bringert 96f8638ea2 Typo in comment s/bueno vino/buen vino/. Reported by Moises. 2007-10-17 14:00:39 +00:00
bringert b086ead7a0 Change solamiento to solamente in variables names in ParadigmsSpa. Reported by Moises. 2007-10-17 13:59:31 +00:00
bringert 65ea5360aa Note that darcs 1.0.9 has controlmaster problems. 2007-10-03 13:13:27 +00:00
bringert 02db3b9701 Started on a stub GFC.Main 2007-09-28 13:27:12 +00:00
bringert e2ff5b023f Removed giant comment and add help message function to GF.Devel.GFC.Options. 2007-09-28 13:12:55 +00:00
bringert e0233440c7 Implemented lots of command-line options in GF.Devel.GFC.Options. 2007-09-28 13:10:09 +00:00
bringert f2b095b519 Started working on gfc command-line options. 2007-09-21 10:30:00 +00:00
bringert 60359485cc Restored the GFCC.cf from before the patch "simplify GFCC syntax". This is the version that the exisiting code actually uses, except for the two cases of Int instead of Integer. 2007-09-20 15:20:44 +00:00
bringert 10c2ef30dc BNFC doesn't have an Int type. 2007-09-20 14:33:53 +00:00
bringert 61ae1920b3 Include startcat in generated JavaScript. 2007-09-19 08:58:39 +00:00
bringert 3a9d7c11f7 chmod in lib/resource-1.0 is now called by all targets that use mkPresent. This is needed to make make all in src work. 2007-09-13 08:56:51 +00:00
bringert 893427b0f2 make (all) in src now compiles the resource grammars. 2007-09-13 08:27:48 +00:00
bringert e902ce7f71 chmod mkPresent in make all in lib/resource-1.0 2007-09-13 08:25:46 +00:00
bringert 3d786625fa Use darcs dist instead of darcs get in make dist. This should get around the problem with partial repositories. 2007-07-08 18:32:45 +00:00
bringert 8517d2ead6 Nicer mkDet usage in Toy0I 2007-07-06 12:03:47 +00:00
bringert f8b00b2ac7 compiled target in resource-1.0 now depends on alltenses mathematical multimodal present prelude, in order to make the main Makefile simpler. 2007-07-05 12:29:42 +00:00
bringert de62a2f8e6 Use compiled.tgz in dist and install-lib. 2007-07-05 12:25:00 +00:00
bringert aeb45fa03e Set build variable in config.mk 2007-07-05 12:23:39 +00:00
bringert 69ba797c35 Added prelude target to lib/resource-1.0/Makefile, to make src/Makefile work. 2007-07-04 15:40:47 +00:00
bringert f626a08116 Changed dist target to work with current darcs version. 2007-07-04 15:38:42 +00:00
bringert c49b68d3b8 Added lib target to src/Makefile. It builds all the resource-1.0 modules. 2007-07-04 15:30:07 +00:00
bringert aa5d9556ff Install compiled resource modules in source and binary installs. 2007-07-04 13:27:22 +00:00
bringert 0c90c3843f Remove old VCS configure flags. 2007-07-04 13:27:04 +00:00
bringert 1c2161d820 Fixed NOINLINE bug in Today.hs 2007-07-04 13:26:17 +00:00
bringert e9857531e1 Build GF/Today.hs directly from Makefile. Include libdir. 2007-07-04 12:49:01 +00:00
bringert b9243c037a Fized some typos in Toy1. 2007-07-04 11:27:06 +00:00
bringert 6b2f48cb83 German UttNP now uses nominative. 2007-06-28 08:10:41 +00:00
bringert 731b5c4f98 CFRules tracing. 2007-06-28 01:26:09 +00:00
bringert 448e1db488 -printer=regexp handles precedence 2007-06-28 01:25:36 +00:00
bringert f2710ba80d bottom-up and top-down filtering do not need fix point iteration. 2007-06-27 17:46:34 +00:00
bringert 674424c252 Refactor TransformCFG: use Map for CFRules. 2007-06-27 17:22:59 +00:00
bringert f664497bcd Make bottomUpFilter better by also removing categories which contain no finite strings. 2007-06-27 16:27:55 +00:00
bringert 836e596189 Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert 0bf61ef626 Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs. 2007-06-27 15:39:42 +00:00
bringert 6bd9a9faaf Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing. 2007-06-27 14:25:39 +00:00
bringert b52001c74f Use nominative in English UttNP. 2007-06-27 13:50:26 +00:00
bringert cc25c3a851 The no-functor toy0 english now uses N for Noun. 2007-06-27 13:00:09 +00:00
bringert 83d0dca023 Cleaned up names and paths in toy0 grammars. 2007-06-27 12:50:42 +00:00
bringert 236d4ca62f Added no-functor version of Toy0Eng.gf 2007-06-27 12:42:25 +00:00
bringert d734e2c40b Added english and french parameterized toy0 cocnrete sytnaxes. 2007-06-27 12:40:25 +00:00
bringert 780325e4ff Moved the different versions of the toy0 concrete modules to different subdirectories. 2007-06-27 12:38:24 +00:00
bringert 6c074d38c6 Limit GSL/JSGF/SRGS ABNF grammar line width to 80. 2007-06-27 09:07:51 +00:00
bringert 9cf1ae6112 Fewer redundant parantheses in JSGF and SRGS ABNF. 2007-06-26 16:51:09 +00:00
bringert ee39e2c742 SRGS XML: the meta tag should use empty tag short-hand. 2007-06-26 15:20:32 +00:00
bringert 84e030d128 Oops, I had managed to remove the preprocessing step in makeSimpleRegular, which broke SLF and non-rec SRGS generation for grammars which need bottom-up filtering. 2007-06-26 15:09:48 +00:00
bringert 77920fd23a Eliminate more redundant item tags in SRGS XML. 2007-06-26 12:27:46 +00:00
bringert eb92a9bf8f Produce less verbose SRGS XML, by eliminating redundant item tags. 2007-06-26 12:19:30 +00:00
bringert b81b9b910e Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert 58dc4c30eb Added srgs_abnf_non_rec. 2007-06-25 16:50:00 +00:00
bringert 92db9f7268 Document non-recursive SRGS. 2007-06-25 16:49:36 +00:00
bringert ca8efaf3c7 Some clean-up in finite-state network generation: MFA now keeps track of start lattice name, instead of having a wrapper lattice. Replaced MFALabel with Symbol. 2007-06-25 16:25:58 +00:00
bringert e967e040f9 Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert 815cc5a7eb Some refactorings needed for recursion removal. 2007-06-25 13:38:40 +00:00
bringert 8cdbaa39f7 Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert 4d28e6ec1c SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert 23d1917b0d Removed some unused imports of GF.Speech.SRG. 2007-06-21 12:52:59 +00:00
bringert 13b8bab5fe Added regexps grammar printer. This is a first step towards recursion-free SRGS. 2007-06-20 16:08:23 +00:00
bringert a029232eef Added language flags to bronzeage grammars. 2007-06-20 12:22:28 +00:00
bringert 5c5c8d81c9 Added a simple cabal build system for the embedded API. 2007-06-14 16:08:38 +00:00
bringert 630cf47eeb Move some type annotations from patterns to expressions. Haskell 98 does not allow type signatures in expressions. 2007-06-14 16:02:07 +00:00
bringert 48081dc340 Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
bringert e857cdf485 Added n : Number field to German Numeral and Num. 2007-05-11 16:07:03 +00:00
bringert e426957777 Use prepV2 instead of mkV2 in LexiconGer. 2007-05-11 15:43:14 +00:00
bringert 738ca3dc25 Overloaded German mkV2. 2007-05-11 15:42:47 +00:00
bringert e6e9098085 ParadigmsEng: reflV and partV shouldn't be in mkV. 2007-05-11 15:31:19 +00:00
bringert adfed6ba8e Use mk3A in LexiconGer. 2007-05-11 15:05:12 +00:00