Fractran: Difference between revisions

Line 2,499:
20: 30</pre>
=={{header|Nim}}==
This is a simple implementation which operates on fractions. As Nim standard library doesn’t provide a module for big numbers, we have used the extra library “bignum” which relies on “gmp”.
We provide a general function to run any Fractran program and a specialized iterator to find prime numbers.
<lang Nim>
import strutils
Anonymous user