yacc/lex based programs. I have many for programming languages or C tools.
Most of the others you'll find are for regular expressions, REXX, SQL,
ftp/html parsers, or simple calculators.
I searched via Yahoo and found a shell based on Duff's RC (run command)
shell. It has the yacc file (parse.y). But, it is missing the lex file,
although most of it's content is in their man page (rc.1). It appears they
converted the lex file to a dedicated C lexer (lex.c), probably for speed.
However, I think there is enough of the lexer on the man page that you could
recreate or complete a 'lex.l' to work with parse.y.
http://gatekeep.cs.utah.edu/ftp/hpux/Shells/rc-1.7.1/rc-1.7.1-src-11....
Duff wrote the RC version for Plan 9.
http://cm.bell-labs.com/sys/doc/rc.html
It's somewhere, buried here, supposedly... (If you go this route, good
luck!):
http://cm.bell-labs.com/plan9/index.html
I haven't looked at any of the source other standard shells. Some of them,
or early versions of them, may have been lex/yacc based. Another option
would be to scour the pre-94 *nix part of the Internet for "dead" shells:
Decus, gatekeeper, net.sources, comp.sources.misc, comp.sources.unix, etc...
perhaps using Google, Yahoo, or Google's Groups advanced search.