# Let's Build A Simple Interpreter. Part 5.

DevFeed: [Let's Build A Simple Interpreter. Part 5.](<https://devfeed.tech/articles/let-s-build-a-simple-interpreter-part-5-33326.md>)

Original publisher: [Read original article](<https://ruslanspivak.com/lsbasi-part5/>)

Author: Ruslan Spivak

Published: 2015-10-14T11:00:00Z

Content type: tutorial

Language: en

Sources: [Ruslan Spivak](<https://devfeed.tech/sources/ruslan-spivak.md>)

Topics: [Compiler](<https://devfeed.tech/topics/compiler.md>), [Parser](<https://devfeed.tech/topics/parser.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [expression](<https://devfeed.tech/tags/expression.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [writing-code](<https://devfeed.tech/tags/writing-code.md>)

## AI overview

This tutorial explains how to build an interpreter that parses and evaluates arithmetic expressions. It covers operator associativity and precedence for addition, subtraction, multiplication, and division, using expressions such as "14 + 2 * 3 - 6 / 2".

## Source excerpt

How do you tackle something as complex as understanding how to create an interpreter or compiler? In the beginning it all looks pretty much like a tangled mess of yarn that you need to untangle to get that perfect ball. The way to get there is to just untangle it ...