Julian Jaynes Bicameral Breakdown Series, 5 of 8
The prologue/epilogue is written by Hammurabi, the text is about him and his relationship to his god, evident is the concept of ‘I’ or ‘self’.
The code itself is written by Marduk, his god, spoken to Hammurabi and channeled from him to a scribe.
Both sides are unconscious of each other. When the code is written, Hammurabi, in a trance, lets the unconscious take over.
The Origin of Consciousness in the Breakdown of the Bicameral Mind, Julian Jaynes, 1976.