|
librdesc
|
#include <rdesc/grammar.h>Go to the source code of this file.
Macros | |
| #define | PM_PRODUCTION_COUNT 9 |
| [Grammar declaration] | |
| #define | PM_MAX_ALTERNATIVE_COUNT 2 |
| #define | PM_MAX_ALTERNATIVE_SIZE 4 |
Enumerations | |
| enum | pm_tk { TK_NUM , TK_IDENT , TK_LPAREN , TK_RPAREN , TK_PIPE , TK_CARET , TK_COMMA , TK_SEMI } |
| [Grammar declaration] More... | |
| enum | pm_nt { NT_STMT , NT_EXPR , NT_EXPONENTIATION_EXPR , NT_EXPONENTIATION_EXPR_REST , NT_PIPE_EXPR , NT_PIPE_EXPR_REST , NT_FUNCTION_ARG_LS , NT_FUNCTION_ARG_LS_REST , NT_FUNCTION_CALL } |
| [Token definition] More... | |
Variables | |
| struct rdesc_grammar_symbol | pm_grammar [PM_PRODUCTION_COUNT][PM_MAX_ALTERNATIVE_COUNT+1][PM_MAX_ALTERNATIVE_SIZE+1] |
| Pipe-Math grammar definition. | |
| #define PM_MAX_ALTERNATIVE_COUNT 2 |
max alternative count
| #define PM_MAX_ALTERNATIVE_SIZE 4 |
max alternative size
| #define PM_PRODUCTION_COUNT 9 |
[Grammar declaration]
production count
| enum pm_nt |
[Token definition]
[Nonterminal definition] nonterminal enum
| enum pm_tk |
[Grammar declaration]
[Token definition] token enum
|
extern |
Pipe-Math grammar definition.