• Lightfire228@pawb.social
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    I was reading Crafting Interpreters. After adding function calls and stack frames, i tested my implementation with the Fibonacci script at the end of the chapter

    I spent about 2 hours debugging my call stack, and even tested the script in Python

    Only to realize that Fib(3) is indeed 2