Simplify the node_eff representation as well as change the names
used in order to make it homogoneous with what is done in SyntaxTreeCore.ml This commit is related to the previous one actually. Also remove all this story of node_half_eff that is not used (yet), and that may not be useful (we'll see later). Also continue to fix the representation of SyntaxTrreCore.node_info : -> remove the node alias -> put the corresponding infomation in node_body field -> rename node_body field into node_def -> associate to node_def (instead of a body option) a new union type made of Abstract, Extern, Alias of ..., Body of ... This allows us to - remove an "assert false" to deal with node with body and alias (this new presentation makes it impossible) - Deal with Abstract node properly
Showing
- src/Makefile 1 addition, 1 deletionsrc/Makefile
- src/TODO 6 additions, 15 deletionssrc/TODO
- src/compiledData.ml 91 additions, 153 deletionssrc/compiledData.ml
- src/evalNode.ml 2 additions, 2 deletionssrc/evalNode.ml
- src/expandPack.ml 2 additions, 3 deletionssrc/expandPack.ml
- src/lazyCompiler.ml 97 additions, 90 deletionssrc/lazyCompiler.ml
- src/lazyCompiler.mli 1 addition, 1 deletionsrc/lazyCompiler.mli
- src/parser.mly 3 additions, 6 deletionssrc/parser.mly
- src/syntaxTreeCore.ml 15 additions, 10 deletionssrc/syntaxTreeCore.ml
- src/syntaxTreeDump.ml 7 additions, 8 deletionssrc/syntaxTreeDump.ml
Loading
Please register or sign in to comment