5 ms·
The parser has, but not the HTML renderer indeed. Using a third-party lib for that currently, but noticed the limitations too. Might replace it with my own!
by webpro 1y ago
The parser has, but not the HTML renderer indeed. Using a third-party lib for that currently, but noticed the limitations too. Might replace it with my own!
- teddyh 1y agoGreat! Next step: torturetest.vt
- webpro 1y agoThere is https://github.com/webpro/ANSI.tools/blob/main/packages/parser/test/tokenize-stress.test.ts https://github.com/webpro/ANSI.tools/blob/main/packages/pars... and others
- teddyh 1y agoI was thinking of <http://artscene.textfiles.com/vt100/torturet.vt http://artscene.textfiles.com/vt100/torturet.vt>.
- webpro 1y agoThe lexer and parser handled it perfectly first try. The HTML renderer had a few issues though, but it's being rendered reasonably well now. The torture test has been added to the package tests and to the website as an example.
- ForOldHack 1y agoDoes it crash the tester? https://invisible-island.net/ncurses/tctest.htm https://invisible-island.net/ncurses/tctest.htm