Add parsing support for KINETIC blocks - WIP
* Split `tok::number` token into `tok::real` and `tok::integer` * Add new tokens: `tok::tilde`, `tok::arrow` and `tok::kinetic` (keyword) * Add new expressions: `IntegerExpression` (deriving from `NumberExpression`), `ReactionExpression`, `StoichExpression` and `StoichTermExpression`. * Add new `procedureKind`: `kinetic`. * Add parse rules for KINETIC blocks. Note: no real testing yet.
Showing
- modcc/expression.cpp 94 additions, 10 deletionsmodcc/expression.cpp
- modcc/expression.hpp 132 additions, 4 deletionsmodcc/expression.hpp
- modcc/lexer.cpp 19 additions, 7 deletionsmodcc/lexer.cpp
- modcc/lexer.hpp 1 addition, 1 deletionmodcc/lexer.hpp
- modcc/parser.cpp 96 additions, 8 deletionsmodcc/parser.cpp
- modcc/parser.hpp 5 additions, 1 deletionmodcc/parser.hpp
- modcc/token.cpp 6 additions, 1 deletionmodcc/token.cpp
- modcc/token.hpp 9 additions, 3 deletionsmodcc/token.hpp
- modcc/visitor.hpp 1 addition, 0 deletionsmodcc/visitor.hpp
- tests/modcc/test_lexer.cpp 10 additions, 2 deletionstests/modcc/test_lexer.cpp
Please register or sign in to comment