Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can xfst issue a warning (after it makes a pass on the file to be sourceed) that there are definitions which are are in a suspicious order?

0
Posted

Can xfst issue a warning (after it makes a pass on the file to be sourceed) that there are definitions which are are in a suspicious order?

0

xfst makes no such passes. It has no eye to the future. Rather it is a carefree, hedonistic interpreter that lives for the moment. It greedily interprets each regular expression as it is parsed, based on the state of the symbol table at that very moment.If you want to write grammars with forward references and free orders, then you need to use lexc.If you want to define regular expressions with self-reference, then see xfst and self-referencial expressions.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123