ENH: replace flex-based wmkdep with ragel-based parser (issue #784)
This is similar to efforts (Feb 2010) but using ragel (https://en.wikipedia.org/wiki/Ragel) instead of the now defunct coco/r. The modified commit message from 2010: ENH: add C++-based wmkdepend parser (uses ragel grammar). - This avoids dependency on lex/flex and provides better encapsulation for buffer switching. As a result, the maximum number of open files only corresponds to the include depth. -- Note that the flex source and rules are still available, but are not deactivate (see wmake/rules/General/transform)
Showing
- wmake/rules/General/ragel 5 additions, 0 deletionswmake/rules/General/ragel
- wmake/rules/General/transform 3 additions, 2 deletionswmake/rules/General/transform
- wmake/src/Makefile 12 additions, 1 deletionwmake/src/Makefile
- wmake/src/wmkdepend.cpp 836 additions, 0 deletionswmake/src/wmkdepend.cpp
- wmake/src/wmkdepend.rl 515 additions, 0 deletionswmake/src/wmkdepend.rl
Please register or sign in to comment