Created
December 10, 2010 11:22
-
-
Save fcalderan/736099 to your computer and use it in GitHub Desktop.
Typical Jamiroquai video explained by a context-free grammar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Typical Jamiroquai video explained by a context-free grammar (just for fun) | |
JV ::= <epsilon> | <Someone> <Does> <Something> in a <Place> | <Exceptions> ; | |
Someone ::= He | the invisible man ; | |
SomeoneElse ::= Him | another invisible man ; | |
Does ::= (runs away with | follows | drives) a ; | |
Something ::= (porsche | ferrari | moto | helicopter) followed by <SomeoneElse> <Consequence> ; | |
Consequence ::= wasting fuel | polluting environment | making roads insecure ; | |
Place ::= dull desertic land | desert | bright floor; | |
Exceptions ::= He dances all the time | Godzilla destroys a cinema ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment