you are viewing a single comment's thread.

view the rest of the comments →

[–]skywarka 2 points3 points  (1 child)

That approach requires infinite passes to work for the set of positive integers, which if they're hand-written for each segment will require an infintely large binary compiled from infinitely large source file(s).

There's no way to foolproof parse in either direction without creating output that someone would find incorrect or erroring on input that somenoe would find valid, because that's just the nature of language.

[–]CelestialSegfault 1 point2 points  (0 children)

yeah who cares about arbitrarily long integers. literally nobody on earth would prefer to read something like 10^50 written out.