25.06.2013 Views

1 transparent par page - Montefiore

1 transparent par page - Montefiore

1 transparent par page - Montefiore

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sémantique opérationnelle : conditions<br />

On évalue d’abord le gardien :<br />

〈B, s〉 → 〈B ′ , s ′ 〉<br />

〈if B then C1 else C2, s〉 → 〈if B ′ then C1 else C2, s ′ 〉 (W-COND.B)<br />

En fonction de sa valeur, on évalue la première ou la deuxième<br />

commande :<br />

〈if true then C1 else C2, s〉 → 〈C1, s〉 (W-COND.TRUE)<br />

〈if false then C1 else C2, s〉 → 〈C2, s〉 (W-COND.FALSE)<br />

181

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!