summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-10Factor out common code from GF.Command.Commands and GF.Command.Commands2hallgren
Created module GF.Command.CommonCommands with ~250 lines of code for commands that do not depend on the type of PGF in the environemnt, either because they don't use the PGF or because they are just documented here and implemented elsewhere. TODO: further refactoring so that documentation and implementation of *all* commands can be kept together.
2015-08-10gf -cshell: preliminary support for the C run-time system in the GF shellhallgren
Some C run-time functionality is now available in the GF shell, by starting GF with 'gf -cshell' or 'gf -crun'. Only limited functionality is available when running the shell in these modes: - You can only import .pgf files, not source files. - The -retain flag can not be used and the commands that require it to work are not available. - Only 18 of the 40 commands available in the usual shell have been implemented. The 'linearize' and 'parse' commands are the only ones that call the C run-time system, and they support only a limited set of options and flags. Use the 'help' commmands for details. - A new command 'generate_all', that calls PGF2.generateAll, has been added. Unfortuntaly, using it causes 'segmentation fault'. This is implemented by adding two new modules: GF.Command.Commands2 and GF.Interactive2. They are copied and modified versions of GF.Command.Commands and GF.Interactive, respectively. Code for unimplemented commands and other code that has not been adapted to the C run-time system has been left in place, but commented out, pending further work.
2015-08-10Refactor GF shell modules to improve modularity and reusabilityhallgren
+ Move type CommandInfo from GF.Command.Commands to a new module GF.Commands.CommandInfo and make it independent of the PGF type. + Make the module GF.Command.Interpreter independent of the PGF type and eliminate the import of GF.Command.Commands. + Move the implementation of the "help" command to its own module GF.Command.Help
2015-08-10bump the version number for the Android appkrasimir
2015-08-06now the app shows the correct abstract syntax names for unknown words while ↵krasimir
it still produces the right TTS
2015-08-06another fix in the Thai keyboardkrasimir
2015-08-06GF Home Page: Updated the link to the Haskell API, and a couple of other linkshallgren
2015-08-06disable the visualization of glosses in the App until we have a complete ↵krasimir
database
2015-08-06set the optimization levels for the JNI code to release levelkrasimir
2015-08-06bugfix for the word prediction in the Appkrasimir
2015-08-06a better layout for the Thai keyboardkrasimir
2015-08-06bugfix in lookup_morpho in the C runtimekrasimir
2015-08-04Update doc/gf-help-full.txt (GF shell reference manual)hallgren
2015-07-28FoodsTur.gf: use Predef.BIND instead of "&+"hallgren
...for better results when used with the C run-time system.
2015-07-23rewrote an mkPN application in WordsGer to work around a problem that might ↵aarne
be a type checker bug
2015-07-22Setup.hs: ignore .* instead of . and .. when compiling/copying all files in ↵hallgren
a directory This avoids problems with .DS_Store files created by the Finder on OS X.
2015-07-21PGF web service: option to leave &+ uninterpreted in linearized outputhallgren
By adding unlexer=none (or unlexer=id) in requests that output linearizations (e.g. command=linearize, command=translate), you can leave &+ uninterpreted instead of gluing the adjacent tokens. This means that the output is left in a format that can be parsed in a subsequent request. To implement this consistently, the function linearizeAndBind was replaced with the function linearizedAndUnlex (but there are a couple of requests that do not call this function...) Note that this applies to the Haskell run-time requests only. The C run-time request (c-linearize, c-translate) always applies the &+ token and the c-parse request can parse input containing glued tokens.
2015-07-21added PassV2 to App; PassVPSlash did not work as VPSlash was disabled for ↵aarne
speed reasons
2015-07-20removed the obsolete examples/translator directory, which caused confusionaarne
2015-07-20Setup.hs: correctly parse output from 'darcs changes' for newer versions of ↵hallgren
darcs It worked with darcs-2.8 before, now it also works with darcs-2.10.
2015-07-16make the virtual machine instructions more uniformkrasimir
2015-07-16refine the GNU lightning patch to avoid generating unnecessary codekrasimir
2015-07-16bugfixes in the JIT compiler for x86_64. One of the fixes is actually in GNU ↵krasimir
lightning
2015-07-16added a space after the tag in word alignment to work around a graphviz bug ↵aarne
shown with Chinese characters
2015-07-15Wide Coverage Demo: avoid errors if d3 or d3Tree can't be loadedhallgren
2015-07-15add the Python API tutorial to the GF home pagekrasimir
2015-07-12fixed missing do in the Haskell bindingkrasimir
2015-07-04the reasoner's states are now closures just like the code for the def rules. ↵krasimir
This means more compact JIT compiled code and uniformity with the code for def rules
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-07-01merge brassiere_1_N/brassiere_2_N and aborigine_N/aboriginal_Nkrasimir
2015-07-01forgot to add the DBManagerkrasimir
2015-07-01the Android app now can show Glosses from WordNetkrasimir
2015-06-30specify strict APP_PLATFORM to avoid crashes on devices with older android ↵krasimir
version
2015-06-30add function 'functions' in the Haskell binding to the C runtimekrasimir
2015-06-30some more comments in the help pagekrasimir
2015-06-30bugfix in the Android keyboardkrasimir
2015-06-30better layout for the Thai keyboardkrasimir
2015-06-30increase the version number for the appkrasimir
2015-06-30added ant.properties in the App folder to make it easier to prepare releaseskrasimir
2015-06-30bugfix in the parser for lexical lookupkrasimir
2015-06-25Remove left over [...] from release notes, bump version number in gf.cabal ↵hallgren
to 3.7-darcs
2015-06-25Update home page, download page & release notes for GF 3.7. Bump version ↵hallgren
number in gf.cabal
2015-06-25Documentation updates for the release of GF 3.7hallgren
2015-06-25bugfix in the bottom-up prediction for the parserkrasimir
2015-06-23runtime/c/pf/jit.c: silence warning about alloca on MINGW32hallgren
2015-06-23Bump version of .gfo and .pgf files, improve error messages on version mismatchhallgren
Becacuse of the new special tokens added to the Symbol type, .gfo and .pgf files produced with the current version of GF can not always be used with older versions of GF and the PGF run-time system. The PGF version number was increased from (2,0) to (2,1). GF can still read version (2,0) and (1,0), so old PGF files continue to work. The GFO version was increased from "GF03" to "GF04".
2015-06-23WebSetup.hs: a note about parallel buildshallgren
2015-06-23doc/gf-developers.t2t: add a note about parallel buildshallgren
Also added a note that partial builds (cabal build rgl-none, etc) doesn't work with newer versions of cabal.
2015-06-22Remove the automatically generated doc/gf-developers.htmlhallgren
2015-06-17three more points in the release noteskrasimir