From 8cf03bc5b6895568eb08be1415985a64793bb81c Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 9 Oct 2013 12:08:51 +0000 Subject: a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode --- src/runtime/c/pgf/lexer.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/runtime/c/pgf/lexer.h (limited to 'src/runtime/c/pgf/lexer.h') diff --git a/src/runtime/c/pgf/lexer.h b/src/runtime/c/pgf/lexer.h deleted file mode 100644 index b55c07930..000000000 --- a/src/runtime/c/pgf/lexer.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef PGF_LEXER_H_ -#define PGF_LEXER_H_ - -#include -#include - -/// A single lexical token -typedef GuString PgfToken; -typedef GuSeq PgfTokens; // -> PgfToken - -typedef struct { - prob_t prob; - PgfCId cat; - PgfToken tok; -} PgfTokenProb; - -typedef struct { - PgfToken (*read_token)(); - PgfToken tok; -} PgfLexer; - -PgfLexer* -pgf_new_simple_lexer(GuIn *in, GuPool *pool); - -PgfToken -pgf_lexer_read_token(PgfLexer *lexer, GuExn* err); - -PgfToken -pgf_lexer_current_token(PgfLexer *lexer); - -#endif // PGF_LEXER_H_ -- cgit v1.2.3