a bill of attainder is a law by which a person is immediately convicted without trial. an "ex post facto" law is a law which applies retroactively, punishing someone for an act that was only made criminal after it was done. the "ex post facto" clause does not apply to civil matters.