In case the husband of the wife forgives his wife and the king his slave [no other punishment shall be inflicted]. Programs are best written a little bit at a time, testing after each step to see if what you have written so far is working. An innkeeper delivering 60 "ka usakani" liquor [to one on credit] shall be repaid at the harvest 50 "ka" of grain.
If anyone deprived of property by fraud shall assert his claim thereto under oath he shall receive back from the one practicing the fraud upon him that which he claims [upon proof of his right so to do].
Sin, the lord of the lord of the heaven, the god-father, whose sickle flares up among the gods, shall deprive him of crown and royal throne; the heavy guilt, the great offence, he will not soften; but he cast upon him days, months and years of his rule shall he spend in sobs and tears, he will increase the burden of his sovereignty for him, he shall give him as his fortune a life that shall be like death.
If a freight boat collides with a passenger ship and wrecks it, the owner of the ship which was wrecked is to seek justice before God [present his claim under oath]; and in event it is sustained, the owner of the freight boat, who has occasioned the wreck of the passenger ship, shall return to the owner of the passenger ship the ship so destroyed [or its value] and everything that was destroyed with it. If in a stable a beef is injured by an act of God or a lion [wild beast] the shepherd shall make oath to his lack of fault and produce the injured animal to its owner [and thence go in peace].
In event he chooses wives for his adult sons, before his minor sons attain maturity, and then dies, the adult sons shall divide the property equally among themselves, after having set aside a sufficient portion of the estate, to enable their minor brothers to provide grain treasure with which to purchase wives.
Ea, the great princess, whose conclusions of fortune go ahead, the thinker of good, who knows everything, who makes long the days of my life, shall deprive of wisdom and understanding, shall lead him into oblivion, his rivers pen up in their springs, and not let grow in his country the grain, the life sustenance of the people. If against anyone's wife, on account of another man, accusation is made and she is found sleeping with another man, then shall she jump into the river in place of her husband.
That Moses was familiar with the Laws of Hammurabi and doubtless had studied them cannot be doubted by anyone conversant with the literary and commercial intercourse existing between Egypt and Babylonia.
Test each method as you write it. As indicated above, you should first get the simplest possible version of the program running and tested out that is, leave out things like rats, plagues, and immigration , then add these things one at a time to a working program, testing as you go. If anyone shall redeem waste land and make a cultivated field out of the same and return it to its owner the owner shall measure out for a year 10 "gur" of grain for every 10 "gan" [of land].
If anyone brings personal property into the house of his proposed father-in-law and the father-in-law receives the same and then refuses to permit that person to take his daughter from the house, the father of the daughter shall return the property he has received and upon the return thereof shall be discharged from his obligation to the suitor for his daughter.
The comparison of the two codes will form the subject of a future article in Records of the Past. Istar, the goddess of battle and slaughter, who frees my weapons, my generous protecting deity, who loves my kingdom, in her angry heart, in her great grimness, shall she curse his kingdom, shall turn his benevolence into misfortune and break his weapon at the place of slaughter and battle.
Any person convicted of the offence of selling property stolen either from the city or the temple shall be put to death and the person who receives the stolen goods from such offender shall likewise be put to death. If a builder builds a house for anyone and finishes it, the owner is to give him for [every] "sar" of built surface 2 shekels of money as a present [in compensation for his labor]. If [he cannot pay the penalty] his township does not care to pay it for him, he is to be left on that farm among the cattle.
Nin-karak, the daughter of Anu, who bestows mercy, in E-kur she shall inflict on him severe sickness, bad fever, bad wounds, which will not be healed, whose character the physician does not understand, which he does not know how to treat with a bandage, which like the bite of death cannot be averted, she shall let it come over his limbs till it destroys his life.
If a builder builds a house for anyone and does not complete it firmly, and the house that he has built collapses and kills the owner, then the builder shall be put to death. My words are well [weighed], my deeds have not their equal to subjugate [reduce] the high one, to humble the proud one, to drive out the haughty.
Anyone employing a workman who is a member of an association shall pay him at the rate of 5 Grochen; a potter's? Anyone who shall abduct a slave of the court, or a female slave of the court, or the male or female slave of a freedman, shall be taken beyond the city gate and put to death.