English: Straight-line grammar (with start symbol ß) for the first sentence ("We hold ... Safety and Happiness") of the second paragraph of the United States Declaration of Independence (Dunlap Broadside version). For simplicity, all punctuation was removed from the sentence, only lower-case letters were used, and space was indicated by "_". The choice of nonterminal symbols (single-character symbols, colored blue in the picture) and their right hand sides was inspired by inspection of a gzip-compression of the sentence.
ß ::= we_holdQ5ths_toD_self_evidentMll_ÐCcrea0equalN3yCendowÁbyRirEÕwith_cÅain_unalienabÎÜsMmoYseClif2bÅyA1pursuitLÉN 4secureQÛÇsCinstitu0VÐFrivingPjuÒÙfromOconsentJ9edNwhene8By_formLÇDcomesFs5ctiveKsZsIisOÜJpeoØTaltÄÕabolish_itA toH_a_newGlayÊfoundatiÔoÑprinciØsAorganizÊÙiÑÆas_toRm_shUseÂmoÒlikelyTeffectPsafe7É 0 ::= tÁ 1 ::= 3_ 2 ::= e_li 3 ::= the 4 ::= to_ 5 ::= tru 6 ::= ts_ 7 ::= tyA 8 ::= ver 9 ::= go8n A ::= Bd_ B ::= _an C ::= _X D ::= _be E ::= _creat F ::= _de G ::= _9mà H ::= _institute I ::= _Í J ::= K_ K ::= L3 L ::= _Ó M ::= Na N ::= Sat_ O ::= R_ P ::= RW Q ::= Rse_ R ::= Se S ::= _th T ::= _4 U ::= all_ V ::= among_ W ::= ir_ X ::= aÚ Y ::= ngR Z ::= e_end Á ::= ed_  ::= em_ à ::= ent_ Ä ::= er_ Å ::= ert Æ ::= form_ Ç ::= 9Ðt É ::= happiness Ê ::= Ëi6 Ë ::= ing_ Í ::= it_ Î ::= le_ Ð ::= men Ñ ::= n_such_ Ò ::= st_ Ó ::= of_ Ô ::= on_ Õ ::= or_ Ö ::= owe Ø ::= ple Ù ::= pÖrs_ Ú ::= re_ Û ::= Üs_ Ü ::= right
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.