aboutsummaryrefslogtreecommitdiff
path: root/challenge-099/duncan-c-white/opt2-separateRunX/README
blob: 2fb266b74088285c406696d34cffec2f197cc7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
Here, in the Interpreter, I have extracted the code for
executing each Abstract Pattern Instruction into a
separate runXXX() function [runAt(), runMatch(), runTest()
and runCapture()].

I vaguely thought of this as preparation for integrating
the Translator and Interpreter later.

HOWEVER, in fact it's not terribly useful, because the
integration will be much more intertwined - specifically
because runMatch() calls interprete() recursively.