Κυριακή, Δεκεμβρίου 09, 2007

Python-ιακή σύνταξη

Διαβάζοντας το Language Instinct, έμεινα εντυπωσιασμένος από το πώς μερικοί απλοί γραμματικοί κανόνες μπορούν να δημιουργήσουν τόσο πολύπλοκες προτάσεις και συγχρόνως να βγαίνει νόημα.

Βέβαια, οι κανόνες αυτοί μπορούν να υποστούν κατάχρηση... από κάποιους κακοήθεις...





Headmaster: All right, settle down, settle down. [He puts his
papers down.] Now before I begin the lesson will those of you
who are playing in the match this afternoon move your clothes
down on to the lower peg immediately after lunch before you
write your letter home, if you're not getting your hair cut,
unless you've got a younger brother who is going out this
weekend as the guest of another boy, in which case collect his
note before lunch, put it in your letter after you've had your
hair cut, and make sure he moves your clothes down onto the
lower peg for you. Now...

Wymer: Sir?

Headmaster: Yes, Wymer?

Wymer: My younger brother's going out with Dibble this weekend,
sir, but I'm not having my hair cut today sir, so do I move my
clothes down or...

Headmaster: I do wish you'd listen, Wymer, it's perfectly simple.
If you're not getting your hair cut, you don't have to move
your brother's clothes down to the lower peg, you simply
collect his note before lunch after you've done your scripture
prep when you've written your letter home before rest, move
your own clothes on to the lower peg, greet the visitors, and
report to Mr Viney that you've had your chit signed.

1 σχόλιο:

Conscibot Amalia Tsakiri είπε...

Οι Pythons... απλά κορυφαίοι!!!