From da22eac1803ea4e29dd88888157918878f75d149 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 1 Dec 2005 17:58:31 +0000 Subject: making apply_transfer work --- doc/gf-history.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc') diff --git a/doc/gf-history.html b/doc/gf-history.html index 52dc4319b..ed0669a1b 100644 --- a/doc/gf-history.html +++ b/doc/gf-history.html @@ -13,6 +13,37 @@ Changes in functionality since May 17, 2005, release of GF Version 2.2

+1/12 (BB,AR) The command at = apply_transfer, which applies +a transfer function to a term. This is used for noncompositional +translation. Transfer functions are defined in a special transfer +language (file suffix .tr), which is compiled into a +run-time transfer core language (file suffix .trc). +The compiler is included in GF/transfer. The following is +a complete example of how to try out transfer: +

+  % cd GF/transfer
+  % make                            -- compile the trc compiler
+  % cd examples                     -- GF/transfer/examples
+  % ../compile_to_core -i../lib numerals.tr
+  % mv numerals.trc ../../examples/numerals
+  % cd ../../examples/numerals      -- GF/examples/numerals
+  % gf
+     > i decimal.gf
+     > i BinaryDigits.gf
+     > i numerals.trc
+     > p -lang=Cncdecimal "123" | at num2bin | l
+     1 0 0 1 1 0 0 1 1 1 0
+
+Other relevant commands are: + +For more information on the commands, see help. Documentation on +the transfer language: to appear. + +

+ 17/11 (AR) Made it possible for lexers to be nondeterministic. Now with a simple-minded implementation that the parser is sent each lexing result in turn. The option -cut is used for -- cgit v1.2.3