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

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

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