<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pseudocode on bradleycarey.com</title>
    <link>https://bradleycarey.com/tags/pseudocode/</link>
    <description>Recent content in Pseudocode on bradleycarey.com</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 02 Sep 2023 22:22:18 -0400</lastBuildDate>
    <atom:link href="https://bradleycarey.com/tags/pseudocode/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pseudocode Interpreter</title>
      <link>https://bradleycarey.com/posts/2012-08-23-pseudocode-interpreter/</link>
      <pubDate>Thu, 23 Aug 2012 23:20:58 -0400</pubDate>
      <guid>https://bradleycarey.com/posts/2012-08-23-pseudocode-interpreter/</guid>
      <description>&lt;p&gt;This program was an assignment for my Programming Languages course. The idea is to implement a simple pseudocode interpreter which has very basic functionality as well as a contiguous memory store. Here is how it works:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You feed the program a CRLF separated list of valid syntax. In this case, the file “pseudocode.txt” which should be in the same directory as the program (no file picker implemented).&lt;/li&gt;&#xA;&lt;li&gt;The program reads, parses, and executes the given instructions&lt;/li&gt;&#xA;&lt;li&gt;Any errors that are found are reported, else the program runs until STOP instruction or EOF.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The instruction set is very limited. There are a total of about 18 operations which can have 2 operands. If something is contained in [brackets] then that is referring to one of the 1000 available memory locations ([0] to [999]). You will find the instruction format in the source code, but here is a better explanation:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
