diff options
| author | drbaggy <js5@sanger.ac.uk> | 2021-07-04 08:05:13 +0100 |
|---|---|---|
| committer | drbaggy <js5@sanger.ac.uk> | 2021-07-04 08:05:13 +0100 |
| commit | 72d693e1246626f0d6ea2a1aa06c49fca174f3b3 (patch) | |
| tree | 39ce3c9a5f86a8039957a22e5e11fc79d89fe756 | |
| parent | 935bf81e2f3ef8bd501694ba9431472d3e7c1220 (diff) | |
| download | perlweeklychallenge-club-72d693e1246626f0d6ea2a1aa06c49fca174f3b3.tar.gz perlweeklychallenge-club-72d693e1246626f0d6ea2a1aa06c49fca174f3b3.tar.bz2 perlweeklychallenge-club-72d693e1246626f0d6ea2a1aa06c49fca174f3b3.zip | |
tidied typos
| -rw-r--r-- | challenge-119/james-smith/README.md | 2 | ||||
| -rw-r--r-- | challenge-119/james-smith/cesil/cesil.pl | 1 |
2 files changed, 2 insertions, 1 deletions
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; + |
