/ notes

# Crafting Interpreters

https://craftinginterpreters.com/

Compilers and interpreters are same same but different. Compiling is an implementation technique where you translate a source language to a lower-level form (normally) and don't execute it. Interpreters execute the source code immediately, but many interpreters translate the code to another form first which means they have a compiler.

Compilers are made up of some to all of these steps:

Front End:

Middle End:

Back End:

Shortcuts: