rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: byron@netapp.com (Byron Rakitzis)
To: egsirer@phoenix.Princeton.EDU, rc@hawkwind.utcs.toronto.edu
Subject: Re: more wishes for chrismas
Date: Sun, 6 Dec 1992 03:21:32 -0500	[thread overview]
Message-ID: <9212060821.AA19252@netapp.netapp.com> (raw)

>However, "~" gets promoted around
>*in the lexer*, which is not a good thing.

Maybe this is true in Duff's rc (I don't see how or why, actually) but
it certainly isn't true about my lexer. The only serious lexical hacks
are free carets and the treatment of '('. I guess you can also include
the scanning of variable names (which are presumed to be in the
character class [a-zA-Z0-9_*]).

>	1. Promote '=' as if it was a keyword.

Would anyone like to submit a working yacc grammar for this? After playing
with the grammar for a little bit, I didn't find a way to do this for '='.
It's my suspicion that a working grammar that promoted '=' would be very
ugly, but I'd love to be disproved.


             reply	other threads:[~1992-12-06  8:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-06  8:21 Byron Rakitzis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-12-05 20:52 Emin Gun Sirer
1992-12-04 22:05 Chris Siebenmann
1992-12-04 16:53 Tom Culliton x2278
1992-12-04 14:58 peter
1992-12-04 14:02 Alan Watson
1992-12-04 14:48 ` Steve Rezsutek
1992-12-05 16:21 ` Dave Mason
1992-12-04 12:53 malte
1992-12-04 14:03 ` Gerry.Tomlinson
1992-12-08 15:21 ` Mark-Jason Dominus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9212060821.AA19252@netapp.netapp.com \
    --to=byron@netapp.com \
    --cc=egsirer@phoenix.Princeton.EDU \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).