[Pkg-haskell-maintainers] Bug#768883: Impossible to run Prime.b
Robert de Bath
robert$ at debath.co.uk
Sun Nov 9 20:53:52 UTC 2014
Package: hsbrainfuck
Version: 0.1-6
The original brainfuck distribution written by Urban Müller in 1993 has a
few example programs in it one of these is a prime number generator.
I would expect a brainfuck interpreter to be able to run this code
hsbrainfuck cannot!
I would expect a reasonable brainfuck interpreter to get to 255 in less
than twenty seconds. A good one will be subsecond.
Download: http://aminet.net/dev/lang/brainfuck-2.lha
Readme: http://aminet.net/dev/lang/brainfuck-2.readme
Extracted copy of prime.b
https://github.com/rdebath/Brainfuck/raw/a7caec11b54dd960ecf6172b58822997b5208bb9/src/prime.b
Slightly 'modernised' version of prime.b
https://github.com/rdebath/Brainfuck/raw/master/testing/Prime.b
--
Rob. (Robert de Bath <robert$ @ debath.co.uk>)
<http://www.debath.co.uk/>
More information about the Pkg-haskell-maintainers
mailing list