2012-11-01から1ヶ月間の記事一覧

パーサーの実施

最近コンパイラーの作成方法を考えています。LR(1)のパーサーは文法に従って左から右へ入力を処理するし文法の変数を右から左へ引き出す。 An interesting aspect of LR(1) parsing is the utilization of the viable prefix. This is the prefix seen so…