1
0
forked from GitHub/gf-core

first variant of the parser which precompiles epsilons

This commit is contained in:
Krasimir Angelov
2023-09-15 18:22:35 +02:00
parent d2cbe7b6a1
commit b3968d95b9
3 changed files with 649 additions and 251 deletions

View File

@@ -267,12 +267,12 @@ struct PGF_INTERNAL_DECL PgfLRShift {
size_t next_state;
ref<PgfConcrLincat> lincat;
size_t r;
bool is_epsilon;
};
struct PGF_INTERNAL_DECL PgfLRReduce {
object lin_obj;
size_t seq_index;
size_t seq_idx;
ref<Vector<bool>> args;
};
struct PGF_INTERNAL_DECL PgfLRState {