[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %push-* -> %define push_pull
From: |
Akim Demaille |
Subject: |
Re: %push-* -> %define push_pull |
Date: |
Fri, 28 Sep 2007 15:55:04 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
>>> "JED" == Joel E Denny <address@hidden> writes:
> There are so many potential orthogonal issues related to interface/API.
> For example, I've been thinking that %pure-parser ought to be deprecated
> in favor of a %define variable as well. Impure vs. pure is orthogonal to
> pull vs. push.
> I've also been thinking that some %define variables could be organized in
> a sort of hierarchy. For example, in my offline work, I have stuff like
> `%define lr.default_rules' and `%define lr.lookahead_merging' to affect LR
> parser table construction. Maybe we should have something like:
> %define api.push_pull "push|pull|both"
> %define api.pure "true||false"
> What do you think?
I like it! It reminds me of something that was introduced in a2ps
zillions of years ago :)
~/src/bison % a2ps --list=variables nostromo Err 1
Known Variables
===============
cfg.wrapped = 1
del.a2ps = a2ps #?p|-a#p|| #?V|-v2|-q| -#v -o- --stdin=$N
del.acroread = acroread -toPostScript
del.dvips = dvips #?p|-pp#p|| #?V||-q| -T#wpt,#hpt -f
del.imagick = convert -page #wx#h
del.psnup = #?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -w#w -h#h!
del.psselect = #?p!psselect #?V||-q| -p#p!cat!
del.psselnup = #{del.psselect} | #{del.psnup}
del.texi2dvi = texi2dvi4a2ps -b -c #?V|--verbose|--quiet| 1>&2
ghostview = gv -antialias --arguments=-dNOPLATFONTS
lp = #{lp.hook} a2ps-lpr-wrapper #{lp.options} -d
lp.default = #{lp.hook} a2ps-lpr-wrapper #{lp.options}
lp.hook.book = #?o! psbook #?V,,-q, | psnup -2 #?V,,-q, | psset -nt | !
echo "Cannot be used with more than two pages per sheet." >&2 ; exit 1!
lp.hook.book.fit = psfit -d | #{lp.hook.book}
pl.long = #!s|$n $p-|,|
pl.short = #!s|$p-|,|
ps2pdf = ps2pdf -g"#wx#h" -r72
toc = \\Keyword{Table of Contents}\n#-1!f|$2# \\keyword{$-.20n}
sheets $3s< to $3s> ($2s#) pages $3p<-$3p> $4l# lines\n||
user.comments = ,,
user.home = /home/akim
user.host = nostromo
user.login = akim
user.name = Akim Demaille
- %push-* -> %define push_pull, Joel E. Denny, 2007/09/25
- Re: %push-* -> %define push_pull, Paolo Bonzini, 2007/09/25
- Re: %push-* -> %define push_pull, Joel E. Denny, 2007/09/25
- Re: %push-* -> %define push_pull, Paolo Bonzini, 2007/09/25
- Re: %push-* -> %define push_pull, Joel E. Denny, 2007/09/25
- Re: %push-* -> %define push_pull, Akim Demaille, 2007/09/28
- Re: %push-* -> %define push_pull, Joel E. Denny, 2007/09/28
- Re: %push-* -> %define push_pull, Joel E. Denny, 2007/09/28
- Re: %push-* -> %define push_pull,
Akim Demaille <=
- Re: %push-* -> %define push_pull, Joel E. Denny, 2007/09/28