[{"data":1,"prerenderedAt":176},["ShallowReactive",2],{"term-i\u002Finterpreter":3,"related-i\u002Finterpreter":162},{"id":4,"title":5,"acronym":6,"body":7,"category":143,"description":144,"difficulty":145,"extension":146,"letter":147,"meta":148,"navigation":65,"path":149,"related":150,"seo":156,"sitemap":157,"stem":160,"subcategory":6,"__hash__":161},"terms\u002Fterms\u002Fi\u002Finterpreter.md","Interpreter",null,{"type":8,"value":9,"toc":137},"minimark",[10,15,19,23,26,30,126,130,133],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"An interpreter reads your code and runs it line by line in real time, like a live translator at a conference. There is no separate 'translation step' before running — it just goes. Python and JavaScript (in browsers) use interpreters, which makes them slower but easier to iterate with.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"An interpreter is a program that executes source code directly, parsing and running it statement by statement without producing a standalone binary first. This enables rapid development cycles since there is no compile step. Python, Ruby, and PHP are classic interpreted languages. Modern interpreters use JIT (Just-In-Time) compilation to reach near-compiled speeds.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Python interpreter runs code directly:\npython3 hello.py\n\n# You can also use it interactively (REPL):\npython3\n>>> print(\"Hello\")\nHello\n>>> 2 + 2\n4\n","bash","",[38,39,40,49,60,67,73,79,99,105,120],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Python interpreter runs code directly:\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","python3",[41,57,59],{"class":58},"sfazB"," hello.py\n",[41,61,63],{"class":43,"line":62},3,[41,64,66],{"emptyLinePlaceholder":65},true,"\n",[41,68,70],{"class":43,"line":69},4,[41,71,72],{"class":47},"# You can also use it interactively (REPL):\n",[41,74,76],{"class":43,"line":75},5,[41,77,78],{"class":54},"python3\n",[41,80,82,86,90,93,96],{"class":43,"line":81},6,[41,83,85],{"class":84},"sTEyZ",">>> ",[41,87,89],{"class":88},"s2Zo4","print",[41,91,92],{"class":84},"(",[41,94,95],{"class":54},"\"Hello\"",[41,97,98],{"class":84},")\n",[41,100,102],{"class":43,"line":101},7,[41,103,104],{"class":54},"Hello\n",[41,106,108,110,113,116],{"class":43,"line":107},8,[41,109,85],{"class":84},[41,111,112],{"class":54},"2",[41,114,115],{"class":58}," +",[41,117,119],{"class":118},"sbssI"," 2\n",[41,121,123],{"class":43,"line":122},9,[41,124,125],{"class":54},"4\n",[11,127,129],{"id":128},"when-youll-hear-this","When You'll Hear This",[16,131,132],{},"\"Python has an interpreter so you can test snippets instantly.\" \u002F \"The interpreter throws errors at runtime, not before.\"",[134,135,136],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":138},[139,140,141,142],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":128,"depth":51,"text":129},"general","An interpreter reads your code and runs it line by line in real time, like a live translator at a conference.","intermediate","md","i",{},"\u002Fterms\u002Fi\u002Finterpreter",[151,152,153,154,155],"Compiler","Runtime","Script","REPL","Dynamic Typing",{"title":5,"description":144},{"changefreq":158,"priority":159},"weekly",0.7,"terms\u002Fi\u002Finterpreter","cJFbNouln-SPX6VzPsc_OhbDtYoQJR32g67wGfqtn04",[163,166,169,172],{"title":151,"path":164,"acronym":6,"category":143,"difficulty":145,"description":165},"\u002Fterms\u002Fc\u002Fcompiler","A compiler is like a translator that reads your entire code book, converts it all into a language the CPU understands, and hands you the finished translate...",{"title":155,"path":167,"acronym":6,"category":143,"difficulty":145,"description":168},"\u002Fterms\u002Fd\u002Fdynamic-typing","Dynamic typing is like a box that can hold anything — toys, food, or a cat — and you don't have to label what goes in it ahead of time.",{"title":152,"path":170,"acronym":6,"category":143,"difficulty":145,"description":171},"\u002Fterms\u002Fr\u002Fruntime","Runtime is the environment where your code actually runs.",{"title":153,"path":173,"acronym":6,"category":143,"difficulty":174,"description":175},"\u002Fterms\u002Fs\u002Fscript","beginner","A script is a file full of commands that run automatically one after another, so you do not have to type them all yourself.",1776518289300]