# Let's Build A Simple Interpreter. Part 18: Executing Procedure Calls

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

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

Author: Ruslan Spivak

Published: 2020-02-20T13:00:00Z

Content type: tutorial

Language: en

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

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

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [create](<https://devfeed.tech/tags/create.md>), [function](<https://devfeed.tech/tags/function.md>), [local-variables](<https://devfeed.tech/tags/local-variables.md>), [object](<https://devfeed.tech/tags/object.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [program](<https://devfeed.tech/tags/program.md>), [variables](<https://devfeed.tech/tags/variables.md>)

## AI overview

This tutorial extends an interpreter to execute procedure calls. It focuses on procedures that access parameters and local variables, explaining activation records, call-stack handling, procedure execution, and the implementation of the visit_ProcedureCall method.

## Source excerpt

Do the best you can until you know better. Then when you know better, do better. ― Maya Angelou