It is 100% untrue that "the spirit of the law" isn't factor in the US judicial system. The main way it enters explicitly is through courts taking into account the intent of the legislature. The most notable example of this was the way US courts interpreted the 14th amendment, which was far from it's literal statement.