3 ms·
Ragel is a good tool for this: http://www.colm.net/open-source/ragel/ http://www.colm.net/open-source/ragel/ This can be built into languages as "typestate" bu
by astrange 6y ago
Ragel is a good tool for this: http://www.colm.net/open-source/ragel/ http://www.colm.net/open-source/ragel/
This can be built into languages as "typestate" but noone ever seems to get around to doing it. It's unfortunate because I think it's the only acceptable way to do OOP.
- MaxBarraclough 6y agoHeh, I mentioned Ragel in that other thread I linked to, although I see I messed up the link and linked to GraphViz instead. I have to admit I've only very briefly dabbled with Ragel but yes it does seem a pity that this approach is so rarely used.