On Tue, 12 Jun 2001, ts wrote:

> R> * Can you give a regexp for tDXSTRING? If not can you give a context-free
> R> grammar? If not can you describe what you want? ;-)
> 
>  tDXSTRING correspond to the node NODE_DXSTR i.e. ``
>  
>  see parse_string()
> 
> R> * Same as above for tDREGEXP?
>  
>  NODE_DREGX_ONCE or NODE_DREGX, i.e regexp with #{}
>  
>  see parse_regx()
> 
> R> * What different types of string tokens are there? 
> 
>  see eval.c
> 
> R> Which one covers "here documents"?
> 
>   here documents is just a string, it just depend on the type of here
>   document.
> 
Thanks for your answers (both Guy and Matz). Reason I ask instead of
simply reading/duplicating parse.y is that I want to separate things that
is in there because of yacc "quirks"/"features" from what needs to be
there because of the language itself.

Matju: Do you think we should distinghuish string's
(regexp's) with/without #{} in them in RubyAst?

/Robert