From 524c4829f9cc5720c18b8d43bd430d0627edcb89 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 17 Nov 2005 23:17:42 +0000 Subject: nondeterministic lexer, e.g. subseqs --- doc/gf-history.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/gf-history.html b/doc/gf-history.html index a6b3b970b..81ca8106a 100644 --- a/doc/gf-history.html +++ b/doc/gf-history.html @@ -13,6 +13,19 @@ Changes in functionality since May 17, 2005, release of GF Version 2.2

+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 +breaking after first lexing leading to successful parse. The only +nondeterministic lexer right now is -lexer=subseqs, which +first filters with -lexer=ignore (dropping words neither in +the grammar nor literals) and then starts ignoring other words from +longest to shortest subsequence. This is usable for parser tasks +of keyword spotting type, but expensive (2n) in long input. +A smarter implementation is therefore desirable. + +

+ 14/11 (AR) Functions can be made unparsable (or "internal" as in BNFC). This is done by i -noparse=file, where the nonparsable functions are given in file using the -- cgit v1.2.3