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

Icon  Name                             Last modified      Size  Description
[DIR] Parent Directory - [   ] CHECKSUMS 31-Oct-2014 10:33 7.1K [   ] Marpa-HTML-0.112000.meta 27-Dec-2011 09:00 1.4K [TXT] Marpa-HTML-0.112000.readme 27-Dec-2011 09:00 612 [   ] Marpa-HTML-0.112000.tar.gz 27-Dec-2011 09:00 78K [   ] Marpa-HTML-XS-0.001_001.tar.gz 04-Jan-2012 01:49 31K [   ] Marpa-PP-0.014000.meta 13-Mar-2012 00:39 1.9K [   ] Marpa-PP-0.014000.readme 13-Mar-2012 00:39 180 [   ] Marpa-PP-0.014000.tar.gz 13-Mar-2012 00:41 239K [   ] Marpa-R2-2.092000.meta 11-Sep-2014 07:40 5.2K [TXT] Marpa-R2-2.092000.readme 11-Sep-2014 07:40 143 [   ] Marpa-R2-2.092000.tar.gz 11-Sep-2014 08:59 1.1M [   ] Marpa-R2-2.094000.meta 17-Sep-2014 10:13 5.2K [TXT] Marpa-R2-2.094000.readme 17-Sep-2014 10:13 143 [   ] Marpa-R2-2.094000.tar.gz 17-Sep-2014 12:10 1.2M [   ] Marpa-R2-2.096000.meta 04-Oct-2014 00:20 5.4K [TXT] Marpa-R2-2.096000.readme 04-Oct-2014 00:20 143 [   ] Marpa-R2-2.096000.tar.gz 04-Oct-2014 01:39 1.2M [   ] Marpa-R2-2.097_001.tar.gz 10-Oct-2014 12:40 1.2M [   ] Marpa-R2-2.097_002.tar.gz 19-Oct-2014 13:35 1.2M [   ] Marpa-R2-2.097_003.tar.gz 24-Oct-2014 12:56 1.2M [   ] Marpa-R2-2.098000.meta 30-Oct-2014 09:16 5.5K [TXT] Marpa-R2-2.098000.readme 30-Oct-2014 09:16 143 [   ] Marpa-R2-2.098000.tar.gz 30-Oct-2014 10:33 1.2M [   ] Marpa-R3-3.003_000.tar.gz 17-Jul-2014 10:06 1.1M [   ] Marpa-R3-3.003_001.tar.gz 21-Jul-2014 04:24 894K [   ] Marpa-R3-3.003_002.tar.gz 22-Jul-2014 02:31 894K [   ] Marpa-XS-1.008000.meta 02-Apr-2012 10:04 2.8K [TXT] Marpa-XS-1.008000.readme 02-Apr-2012 10:04 284 [   ] Marpa-XS-1.008000.tar.gz 02-Apr-2012 10:05 1.3M

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 (http://www.lulu.com/content/933192) and in print form at Amazon.com: http://www.amazon.com/God-Proof-Jeffrey-Kegler/dp/1434807355.