# Let's Build A Simple Interpreter. Part 19: Nested Procedure Calls

DevFeed: [Let's Build A Simple Interpreter. Part 19: Nested Procedure Calls](<https://devfeed.tech/articles/let-s-build-a-simple-interpreter-part-19-nested-procedure-calls-33322.md>)

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

Author: Ruslan Spivak

Published: 2020-03-19T12:45:00Z

Content type: tutorial

Language: en

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

Topics: [Code](<https://devfeed.tech/topics/code.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [github](<https://devfeed.tech/tags/github.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [program](<https://devfeed.tech/tags/program.md>), [scope](<https://devfeed.tech/tags/scope.md>), [scopes](<https://devfeed.tech/tags/scopes.md>), [variable](<https://devfeed.tech/tags/variable.md>), [variables](<https://devfeed.tech/tags/variables.md>)

## AI overview

This tutorial explains how to execute nested procedure calls in a simple interpreter. It demonstrates nested procedures Alpha and Beta, examines their activation records, and fixes the nesting level for Beta by using the scope level stored in the scoped symbol table.

## Source excerpt

What I cannot create, I do not understand. --- Richard Feynman