Why lrnjrnl

lrnjrnl is a study journal for my personal interests.

I’m writing an interpreter for a toy version of the Python programming language. It’s a parsing exercise from Learn More Python The Hard Way by Zed Shaw. It has kept me busy for the last few months because I am determined to implement a rudimentary form of lexical scope.

My primary resource has been the web. I have been recording my progress and my resources in a thread at forum.learncodethehardway.com. That thread reached 100 posts yesterday. That’s why I’m moving my journal to this web log.

Studying concepts by asking questions and performing tests often corrects or clarifies my misunderstandings, but sometimes the opposite will result! Asking too many questions and doing too much reading can confuse me and lead me to erroneous conclusions. Nevertheless, when it comes to learning, I believe the failures are equal in value to the successes. I try my best not to edit away my mistakes unless it makes sense to do so.

Each is responsible for her/his own learning. Read this journal at your peril.

 
4
Kudos
 
4
Kudos

Now read this

Emulating Python’s Lexical Scope Semantics

KA-BOOOOOOOOOM! That’s the sound of my head exploding. “I slept on it. I won’t make any more changes to ex35. It was a learning exercise and I’m still learning from it, but the existing interpreter is hairy enough that I’d need to... Continue →