From: Vidar Hokstad Date: 2006-12-06T03:00:07+09:00 Subject: Re: Using Relax NG as a grammar Daniel Berger wrote: > Random thought of the day... > > I was reading over Tim Bray's blog [1] regarding Relax NG and looking > over an example of it from wikipedia [2] and I thought to myself, > "Self, couldn't you use this for a language specification? Say, for > Ruby even?" It _is_ meant to be used for language specification, so that's why it looks suitable. It's only that it's meant for specifying grammars for languages using XML syntax, and so it's (rightly) very limited in terms of tokenization etc. which makes it unsuitable for more general languages like Ruby. Vidar