I've created a PHP4 grammar for the Java based SableCC parser generator.
http://www.mare.ee/indrek/sablecc/
As there is no PHP language specification I can't guarantee its correctness but it seems to work on most files I've fed to it. It should make working on parsing PHP for various tasks a lot easier (loads easier than using the bison mess) but it's also only for Java.
III. 言語リファレンス
- 目次
- 10章基本的な構文
- 11章型
- 12章変数
- 13章定数
- 14章式
- 15章演算子
- 16章制御構造
- 17章関数
- 18章クラスとオブジェクト (PHP 4)
- 19章クラスとオブジェクト (PHP 5)
- 20章例外(exceptions)
- 21章リファレンスの説明
言語リファレンス
Indrek Mandre <indrek(at)mare(dot)ee>
02-Sep-2003 07:45
02-Sep-2003 07:45