From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <201202271323.q1RDNuL5007269@freefriends.org> References: <201202271323.q1RDNuL5007269@freefriends.org> Date: Tue, 28 Feb 2012 06:03:01 +0200 Message-ID: From: Nick LaForge To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Config File parsing Topicbox-Message-UUID: 64e9edca-ead7-11e9-9d60-3106f5b1d025 Are you certain you want to use Lex? If no, you may like this fascinating and instructive lecture by Rob Pike, which solves a lexing problem using Golang: http://www.youtube.com/watch?v=HxaD_trXwRE If you have "The Unix Programming Environment" handy, you will also find a lucid tutorial of Lex and Yacc both (in the later chapters). Nick On 2/27/12, arnold@skeeve.com wrote: > O'Reilly's "lex & yacc" is somewhat more user-friendly a reference than > the dragon book, although the latter certainly has its value. :-) > > Arnold > >