#include "zend.h" #include "zend_list.h" . . . #def i ne YYSIZE_T size_t #def i ne yytnamerr zend_yytnamerr static YYSIZE_T zend_yytnamerr(char * , const char*); #ifdef _MSC_VER #def i ne YYMALLOC malloc #def i ne YYFREE free #endif }
x {zend} %def i ne api.pure full %def i ne api.value.type {zend_parser_stack_elem} %def i ne parse.error verbose %expect 0 生成されるパーサ関数やシンボルの接頭辞の設定 エラーメッセージの設定 shift/reduce競合の期待数
バッカス・ナウア記法 Backus, J.W. (1959). The syntax and semantics of the proposed international algebraic language of the Zurich ACM-GAMM Conference. IFIP Congress. https://api.semanticscholar.org/CorpusID:44764020