Index of /Unix/Lang/CPAN/authors/id/J/JK/JKEGL

Icon  Name                             Last modified      Size  Description
[DIR] Parent Directory - [   ] CHECKSUMS 22-Nov-2021 07:53 11K [   ] Marpa-R2-2.104000.meta 08-Mar-2015 09:57 5.5K [TXT] Marpa-R2-2.104000.readme 08-Mar-2015 09:57 143 [   ] Marpa-R2-2.104000.tar.gz 08-Mar-2015 11:12 1.2M [   ] Marpa-R2-3.000000.meta 10-May-2015 13:05 5.5K [TXT] Marpa-R2-3.000000.readme 10-May-2015 13:05 143 [   ] Marpa-R2-3.000000.tar.gz 10-May-2015 16:36 1.2M [   ] Marpa-R2-3.001_001.tar.gz 02-Mar-2017 01:25 1.2M [   ] Marpa-R2-3.001_002.tar.gz 06-Mar-2017 00:45 1.2M [   ] Marpa-R2-4.000000.meta 14-Mar-2017 07:59 5.6K [TXT] Marpa-R2-4.000000.readme 14-Mar-2017 07:59 143 [   ] Marpa-R2-4.000000.tar.gz 14-Mar-2017 08:07 1.2M [   ] Marpa-R2-5.043_043.tar.gz 19-Jan-2018 10:42 1.2M [   ] Marpa-R2-5.045_000.tar.gz 20-Nov-2018 23:45 1.3M [   ] Marpa-R2-6.000000.meta 03-Dec-2018 04:11 5.6K [TXT] Marpa-R2-6.000000.readme 03-Dec-2018 04:11 143 [   ] Marpa-R2-6.000000.tar.gz 03-Dec-2018 04:17 1.3M [   ] Marpa-R2-7.001_000.tar.gz 10-Dec-2018 03:38 1.3M [   ] Marpa-R2-8.000000.meta 17-Dec-2018 06:24 5.6K [TXT] Marpa-R2-8.000000.readme 17-Dec-2018 06:24 143 [   ] Marpa-R2-8.000000.tar.gz 17-Dec-2018 23:40 1.3M [   ] Marpa-R3-4.001_053.tar.gz 21-Sep-2018 02:38 1.1M [   ] Marpa-R3-4.001_054.tar.gz 24-Sep-2019 07:22 1.2M [   ] MarpaX-Hoonlint-1.004000.meta 03-Sep-2019 13:44 3.0K [TXT] MarpaX-Hoonlint-1.004000.readme 27-Aug-2019 09:01 1.0K [   ] MarpaX-Hoonlint-1.004000.tar.gz 03-Sep-2019 13:44 595K [   ] MarpaX-Hoonlint-1.005_002.tar.gz 25-Sep-2019 07:40 596K [   ] MarpaX-Hoonlint-1.005_003.tar.gz 29-Sep-2019 01:07 596K [   ] MarpaX-Hoonlint-1.006000.meta 30-Sep-2019 01:52 3.0K [TXT] MarpaX-Hoonlint-1.006000.readme 27-Aug-2019 09:01 1.0K [   ] MarpaX-Hoonlint-1.006000.tar.gz 30-Sep-2019 03:56 595K [   ] MarpaX-Hoonlint-1.007_001.tar.gz 01-Oct-2019 07:06 598K [   ] MarpaX-Hoonlint-1.007_002.tar.gz 04-Oct-2019 00:17 598K [   ] MarpaX-Hoonlint-1.008000.meta 05-Oct-2019 00:09 3.0K [TXT] MarpaX-Hoonlint-1.008000.readme 27-Aug-2019 09:01 1.0K [   ] MarpaX-Hoonlint-1.008000.tar.gz 05-Oct-2019 04:06 598K [   ] MarpaX-Hoonlint-1.009_001.tar.gz 17-Oct-2019 08:17 598K [   ] MarpaX-Hoonlint-1.010000.meta 21-Oct-2019 00:29 3.0K [TXT] MarpaX-Hoonlint-1.010000.readme 27-Aug-2019 09:01 1.0K [   ] MarpaX-Hoonlint-1.010000.tar.gz 21-Oct-2019 02:43 598K

Marpa, a General BNF Parser

If you've ever written up some BNF and wanted a parser for it, you've encountered the reality: No standard tool generated a parser from arbitrary BNF. BNF had to be put into special and highly restrictive forms like LALR or LL, and this usually required a lot of tweaking of the grammar. Marpa eliminates these restrictions. It will generate a parser for any BNF. That includes even BNF for grammars which are infinitely ambiguous.

Why call it Marpa?

Warning: Shameless Plug ahead

Marpa was the greatest of the Tibetan "translators". In Marpa's time (the 11th century AD) Indian Buddhism was at its height. A generation of scholars was devoting itself to producing Tibetan versions of Buddhism's Sanskrit scriptures. Marpa became the greatest of them, and today is known as Marpa Lotsawa: "Marpa the Translator".

Translation in the 11th century was not a job for the indoors type. A translator needed to study in India, with the teachers who had the texts and could explain them. From Marpa's home in Tibet's Lhotrak Valley, the best way across the Himalayas to India was over the Khala Chela Pass. To reach the Khala Chela's three-mile high summit, Marpa had to cross two hundred lawless miles of Tibet. Once a pilgrim crested the Himalayas, the road to Nalanda University was all downhill. Eager to reach their destination, the first travelers from Tibet had descended the four hundred miles straight to the hot plains.

The last part of the journey had turned out to be by far the most deadly. Almost no germs live in the cold, thin air of Tibet. Pilgrims who didn't stop to acclimatize themselves reached the great Buddhist center with no immunity to India's diseases. Several large expeditions reached Nalanda only to have every single member die within weeks.

There's more about Marpa in my novel, The God Proof, in which his studies, travels and adventures are a subplot. The God Proof centers around Kurt Gödel's proof of God's existence. Yes, that Kurt Gödel, and yes, he really did work out a God Proof (it's in his Collected Works, Vol. 3, pp. 403-404). The God Proof is available as a free download ( and in print form at