Official LLG Parser: Difference between revisions

From Lojban
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:


A speaker (or fan) of [[jbocre: Lojban Description|Lojban]].  Term coined by [[User:Mark Shoulson|Mark Shoulson]].  Face it, it's a more amusing term than [[jbocre: Lojbanist|Lojbanist]].
===== Official LLG Parser =====


Possibly from Esperanto ''Lojxbanano''?
The files in this directory are the current distribution of the LLG official Lojban parser, in source form and MS-DOS executable.


No, not when I coined it. I think I was reacting to the flap about [[jbocre: About Lojbani|lojbani]] sounding too eastern, and thought it was a funny-sounding name. I don't remember thinking Esperanto at the time (but who knows?)
Basically, there are two files. [http://www.lojban.org/files/software/parser/ /parser.zip] contains the MS-DOS executable, whereas [http://www.lojban.org/files/software/parser/ /parser.shar.gz] contains the source code. To compile the parser from the source code, just say "cc -o parser *.c"; there is no Makefile. The code is in K&R C, but should compile all right using an ANSI compiler. If you have trouble unpacking the ZIP file, use PKZipFix to convert it to MS-DOS ZIP format.


==== �Lojbanista! ====
Both versions contain the 'yacc' grammar, the current E-BNF grammar, and a list of technical fixes updating the 2nd baseline grammar. You can process the 'yacc' version with yacc or bison, but do not attempt to use the resulting y.tab.c file in the parser -- the provided grammar.c has been extensively hacked both before and after 'yacc'ing to make it work in the parser.


'''''...or Lojbaneers.'''''
Much newer version 3.0 resides on [[jbocre: John Cowan|John Cowan]]'s site, look for file [http://home.ccil.org/~cowan/p parser-3.0.00.tar.gz] No idea about its official status although.

Revision as of 17:07, 4 November 2013

Official LLG Parser

The files in this directory are the current distribution of the LLG official Lojban parser, in source form and MS-DOS executable.

Basically, there are two files. /parser.zip contains the MS-DOS executable, whereas /parser.shar.gz contains the source code. To compile the parser from the source code, just say "cc -o parser *.c"; there is no Makefile. The code is in K&R C, but should compile all right using an ANSI compiler. If you have trouble unpacking the ZIP file, use PKZipFix to convert it to MS-DOS ZIP format.

Both versions contain the 'yacc' grammar, the current E-BNF grammar, and a list of technical fixes updating the 2nd baseline grammar. You can process the 'yacc' version with yacc or bison, but do not attempt to use the resulting y.tab.c file in the parser -- the provided grammar.c has been extensively hacked both before and after 'yacc'ing to make it work in the parser.

Much newer version 3.0 resides on John Cowan's site, look for file parser-3.0.00.tar.gz No idea about its official status although.