AI Origins · Lesson 10
Blocks World Parser
Parse structured commands and execute actions in a toy symbolic world inspired by SHRDLU.
Live Blocks World Lab
Type symbolic commands, watch the world update, and inspect each precondition + state transition.
Command Console
Help
move X onto Y
move X to table
stack X on Y
unstack X from Y
clear X
show state
Try: move A onto B
About this lab
Learning Goals
- Goal 1Map language commands to world actions
- Goal 2Represent world state with objects and relations
- Goal 3Validate preconditions before each action
- Goal 4Explain symbol grounding limits in toy worlds
Build Tasks
- Task 1Implement parser patterns for core commands
- Task 2Create state update functions for move stack and clear
- Task 3Return readable error messages for invalid commands
- Task 4Log state transitions after each step