15 Sep 2005 19:52
Meaning of any_char & char in Grammar
<jlsherri <at> ncsu.edu>
2005-09-15 17:52:01 GMT
2005-09-15 17:52:01 GMT
Hi, I am currently working on a parser and lexer for Ruby and I had a couple questions. On the grammar page: http://www.ruby-doc.org/docs/Manual/man-1.4/yacc.html Some things like GLOBAL are defined using the term any_char. What exactly is the meaning of this term? Also, the rule REGEXP : `/' any_char* `/'[`i'|`o'|`p'] | `%'`r' char any_char* char uses 'char any_char* char'. What is the meaning of char in this context? Thanks! Justin Sherrill North Carolina State University
RSS Feed