-
- Downloads
Prepare function evaluation mechanisms
- create a global function table, which will contain functions described by their domains mapping and their definition - this table will be directly accessed by the id of the function which will be associated to the function variable. These ids will be stored as uint64_t (for the sake of simplicity) in the ASTNodeDataVariant, but use of a FunctionId type could be considered (cleaner approach) ...
Showing
- src/language/ASTSymbolTableBuilder.cpp 2 additions, 1 deletionsrc/language/ASTSymbolTableBuilder.cpp
- src/language/FunctionTable.hpp 60 additions, 0 deletionssrc/language/FunctionTable.hpp
- src/language/SymbolTable.hpp 11 additions, 1 deletionsrc/language/SymbolTable.hpp
- tests/test_SymbolTable.cpp 4 additions, 2 deletionstests/test_SymbolTable.cpp
Loading
Please register or sign in to comment