From 72d693e1246626f0d6ea2a1aa06c49fca174f3b3 Mon Sep 17 00:00:00 2001 From: drbaggy Date: Sun, 4 Jul 2021 08:05:13 +0100 Subject: tidied typos --- challenge-119/james-smith/README.md | 2 +- challenge-119/james-smith/cesil/cesil.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/challenge-119/james-smith/README.md b/challenge-119/james-smith/README.md index 1215f85fd1..84f389fefc 100644 --- a/challenge-119/james-smith/README.md +++ b/challenge-119/james-smith/README.md @@ -134,7 +134,7 @@ End LINE ### Side note... an intepreter for CESIL... Didn't like the idea of relying on JAVA... so here is a bare bones -interpreter... This uses a dispatcher table to execute the commands +interpreter... This uses a dispatch table to execute the commands - a list of "anonymous" subroutines stored in a hash. ```perl diff --git a/challenge-119/james-smith/cesil/cesil.pl b/challenge-119/james-smith/cesil/cesil.pl index 99ed9585f2..25e79e8982 100644 --- a/challenge-119/james-smith/cesil/cesil.pl +++ b/challenge-119/james-smith/cesil/cesil.pl @@ -52,3 +52,4 @@ while(<>) { ($commands{$code[$ptr][0]}($_=$code[$ptr][1]),$ptr++) while --$MAX_LOOPS && $ptr<@code; die "\n** Exited without HALT\n" if $ptr >= @code; + -- cgit