3 ms·
kazinator provided examples in two recent k threads: https://news.ycombinator.com/item?id=22631649 https://news.ycombinator.com/item?id=22631649 https://news.
by chrispsn 7y ago
kazinator provided examples in two recent k threads:
https://news.ycombinator.com/item?id=22631649 https://news.ycombinator.com/item?id=22631649
https://news.ycombinator.com/item?id=22666539 https://news.ycombinator.com/item?id=22666539
- nerdponx 7y agoThanks. I'd love to see some polyglot comparisons with TXR and other languages commonly used for data processing like Perl and Python.
- kazinator 7y agohttps://rosettacode.org https://rosettacode.org features numerous tasks solved in numerous languages. Some 136 Rosetta tasks are solved in TXR.
- jhayward 7y agoLink to save you some searching: https://www.nongnu.org/txr/rosetta-solutions.html https://www.nongnu.org/txr/rosetta-solutions.html
- kazinator 7y agoThat page is prepared using two TXR programs, which happen to be checked in side-by-side: Suck down the data, print it in a condensed format on standard output: https://www.nongnu.org/txr/fetch-txr-solutions.txr https://www.nongnu.org/txr/fetch-txr-solutions.txr Generate pages with frames from above data: https://www.nongnu.org/txr/make-pages.txr https://www.nongnu.org/txr/make-pages.txr The workflow is to fetch the solutions into a new file and then to use a text merging tool like meld to update the stable copy.