Jump to content

Fractran: Difference between revisions

m
Minor linting of English grammar in task description (step -> steps)
(→‎{{header|JavaScript}}: Removed unused variables, made the functions not rely on global variables nor have collateral effects, the compile function stores the result of the regex parse for each iteration, so it's not re-computed 3 times)
m (Minor linting of English grammar in task description (step -> steps))
Line 31:
to parse it into a sequence of fractions (''i.e.'' two integers),
and runs the FRACTRAN starting from a provided integer, writing the result at each step.
It is also required that the number of stepsteps is limited (by a parameter easy to find).
 
 
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.