Skip to content

Instantly share code, notes, and snippets.

@chbrown
Created December 4, 2011 18:40
Show Gist options
  • Select an option

  • Save chbrown/1430951 to your computer and use it in GitHub Desktop.

Select an option

Save chbrown/1430951 to your computer and use it in GitHub Desktop.
Jabberwockish
Input: vorpal ny mek gimble oof raths ny outgrabe
n np\n (np\np)/(s\pp) (s\np)\pp (s\(s\np))/np n np\n s\np
- ---- -------------- --------- ------------- - ---- ----
np np
-------- --------
s\(s\np)
------------------------
s\pp
------------------------------------
np\np
-----------------------------------------------------
np
----------------------------------------------------------------
s
-----------------------------------------------------------------------
Result: Set(s\n, (s\np)\n, s\np, s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment