1
0
forked from GitHub/gf-core

word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion

This commit is contained in:
kr.angelov
2013-05-01 06:09:55 +00:00
parent 6f4befae68
commit 9cdd96363a
9 changed files with 521 additions and 119 deletions

View File

@@ -116,6 +116,10 @@ pgf_linearize(PgfConcr* concr, PgfExpr expr, GuWriter* wtr, GuExn* err);
PgfExprEnum*
pgf_parse(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, GuPool* pool);
GuEnum*
pgf_get_completions(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
GuString prefix, GuPool* pool);
bool
pgf_parseval(PgfConcr* concr, PgfExpr expr, PgfCId cat,
double *precision, double *recall, double *exact);