Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ocamlyacc: named attributes
@ 2007-01-13 22:59 skaller
  2007-01-14  0:40 ` [Caml-list] " Till Varoquaux
  0 siblings, 1 reply; 4+ messages in thread
From: skaller @ 2007-01-13 22:59 UTC (permalink / raw)
  To: caml-list

What is involved in changing Ocamlyacc to allow names instead
of numbers? Use of numbered attributes is inconvenient when refactoring
a grammar.

The simplest use would be:

fred: one two { $one, $two }

where the name of a non-terminal can be used instead
of its index, provided it is unique.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-14  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-13 22:59 ocamlyacc: named attributes skaller
2007-01-14  0:40 ` [Caml-list] " Till Varoquaux
2007-01-14  7:07   ` skaller
2007-01-14  9:29     ` Quôc Peyrot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox