Commit Graph
100 Commits
Author SHA1 Message Date
bringert fee1483bd8 lighttpd conf tweak. 2008-11-20 16:49:12 +00:00
bringert d6acf9ac89 Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines. 2008-11-19 20:30:57 +00:00
bringert de52b219f3 Merge SyntaxEng.mkOrd and ParadigmsEng.mkOrd in TryEng. 2008-11-19 14:16:28 +00:00
bringert c40ca4b0c7 Some lighttpd config fixes for the gwt translator. 2008-10-29 14:45:15 +00:00
bringert f360e136b9 Better way of building gf-gwt.jar. 2008-10-29 14:02:58 +00:00
bringert 277bcf0a35 GWT: Some changes to compilation scripts to run on linux. 2008-10-29 13:55:00 +00:00
bringert 56adb8b8cd Compile AllX.gf instead of LangX.gf. 2008-08-12 18:43:13 +00:00
bringert 24e609189f Started working on a JavaScript translator. 2008-08-12 15:56:24 +00:00
bringert b99256ca9a Use conjunctDistrTable in ExtraGer.ConjVPI to get it to compile. 2008-08-12 15:22:42 +00:00
bringert 12ea512bdf Use the .s field of .c2 fields in ExtraScand instead of plain .c2 to get it to compile. 2008-08-12 15:15:06 +00:00
bringert 636300cc09 Replace use of DetSg by DetArtSg in ExtraFin.PartCN to get it to compile. 2008-08-12 15:14:26 +00:00
bringert 42efbabaa6 Rename all Language.gf to AllLan.gf to be able to build them automatically. 2008-08-12 15:12:54 +00:00
bringert 9cf67b6313 Some clean-up in the resource lib build system. 2008-08-12 14:28:31 +00:00
bringert d5a7595e7f gfc command now looks for gf executable in the same directory 2008-08-12 14:11:17 +00:00
bringert 6cf8790989 Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that. 2008-04-07 15:57:04 +00:00
bringert a4818eca6d GF.GFCC.API is for .gfcc, not.gfcm 2008-04-07 15:40:41 +00:00
bringert 590f095492 Better names for the parsing info components in GFCC. 2008-01-09 13:51:21 +00:00
bringert a70a170c4b Change "proj" to "P" in GFCC parse rules to save space. 2008-01-07 21:31:45 +00:00
bringert 91acebea56 Replace BNFC-generated PrintGFCCRaw with smaller hand-written one. 2008-01-07 21:31:05 +00:00
bringert 409504a19e Remove LexGFCCRaw from GF-embed.cabal 2008-01-04 22:01:13 +00:00
bringert 14369ba9d2 Replace BNFC-generated GFCC-parser with a faster and smaller combinator version. 2008-01-04 17:42:28 +00:00
bringert 1204d1972d Oops, I happend to record a temporary change for testing combinator parsing on GFCC. Reverting that. 2008-01-04 15:00:58 +00:00
bringert 203a6b62bc Added -noparse flag to gfc. In the process, I refactored GF.Devel.GFC and GF.Command.Importing to use a common source to gfcc compilation function in the new module GF.Compile.API. 2008-01-04 14:51:20 +00:00
bringert ad991ef299 Store FCFPInfo (all information needed for FCFG parsing) in GFCC files, and in the internal DataGFCC.GFCC structure. The parsing information format is still in flux. 2008-01-03 17:10:05 +00:00
bringert 8b1b228ce7 update syntax.txt with the flags and grammar name changes 2007-12-21 17:26:41 +00:00
bringert 6296609baf Merge abstract and global flags and put them at the top level in GFCC files. 2007-12-21 17:25:35 +00:00
bringert 4b02f93eb2 Fixed bug in toGFCC: cflags where mistakenly taken from aflags. 2007-12-21 17:24:59 +00:00
bringert b10fab6bfb gfcc files now start with (grammar absname cncname1 ... cncnameN). 2007-12-21 17:18:36 +00:00
bringert 8ef4cf6f2b Fixed indentation in generated haskell code for list categories. 2007-12-20 23:26:10 +00:00
bringert 3cc9cba65c in gf-embed.cabal: expose GF.GFCC.CId and hide GF.GFCC.Raw.AbsGFCCRaw 2007-12-20 23:20:53 +00:00
bringert d88071c37c Moved Err definition to GF.Data.ErrM from GF.Data.Operations. This means the GF-embed does not have to include GF.Data.Operations. 2007-12-20 17:41:31 +00:00
bringert 073c217b58 Update GF-embed.cabal to use GFCC.Raw 2007-12-20 17:35:18 +00:00
bringert 3eba035691 Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert 070ccd045d Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
bringert 597dce020d Use GF.GFCC.Raw.AbsGFCCRaw instead of GF.GFCC.AbsGFCC in code generated by gfc -haskell. 2007-12-20 16:57:16 +00:00
bringert 56b9e17203 Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw. 2007-12-20 16:32:39 +00:00
bringert 9999634574 Handle giving several options in LDFLAGS and CPPFLAGS correctly. 2007-12-20 15:55:26 +00:00
bringert e6c9cb2b52 s/resource-1.0/resource/ in src/Makefile. 2007-12-13 13:39:04 +00:00
bringert d0d39968ed Use $(MAKE) instead of 'make'. This should help on systems where GNU make is called gmake. 2007-12-13 13:28:02 +00:00
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