4 ms·
I didn't take CS, but I don't know if there's a better way to build a parser or compiler without recursion. Prior to knowing that all my code just loop over lin
by signaru 4y ago
I didn't take CS, but I don't know if there's a better way to build a parser or compiler without recursion. Prior to knowing that all my code just loop over linear arrays of data, so I thought the typical Fibonacci or factorial examples were so contrived. I hope pedagogical material should at least mention where recursions are used in real world programs.