From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7871fcf50701191126x2e2031a2v9723d52ad2db6344@mail.gmail.com> Date: Fri, 19 Jan 2007 14:26:47 -0500 From: "Joel Salomon" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Replacements for lex In-Reply-To: <20070119191241.GB17033@augusta.math.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7871fcf50701191058w7ef924cer224b9c8e4f63321b@mail.gmail.com> <20070119191241.GB17033@augusta.math.psu.edu> Topicbox-Message-UUID: 060e1aa6-ead2-11e9-9d60-3106f5b1d025 > I think that most people roll their own lexical analyzers under Plan 9. > That's typically not too hard to do, though. That's likely what I'll do for the final project (probably yet another C complier, but I might try my hand with [a subset of] D), but the professor has said he'll want us to learn to use mechanically-generated scanners and compare the results. I expect the lexer in /sys/src/cmd/cc/ will be a good example. --Joel