xsl-list
[Top] [All Lists]

Re: [xsl] Are XPath expressions parsed using compiler parsingtechniques?

2022-05-09 15:35:38
Roger wrote:

Are XPath expressions parsed using 
compiler parsing algorithms?

Michael Kay responded:

Yes, of course

Hi Michael, does that mean each time Saxon encounters a place in an XSLT 
program where an XPath expression is expected, Saxon sends the expression into 
an XPath parser which tokenizes the expression, parses it into a syntax tree, 
and then traverses the tree to evaluate the expression? Did you use a parser 
generator to auto-generate the parser? If yes, which parser generator did you 
use? If you didn't use a parser generator, why not?

/Roger
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>