正規表現ベースの字句解析器を書くときは、narcissusというJSベースのJS処理系のコードを見るといいですhttp://mxr.mozilla.org/mozilla/source/js/narcissus/jsparse.js面倒な正規表現の模範解答が載ってます。下手に自分で考えて誤爆するより、一流の人が書い... 続きを読む
あー。なんかトークン間のスペースを明示的に指定しないと行けない点をけなされるPEGだけど、それはトークンの区切り方が「一番メジャーな方法一つに決めうち」ではない、という逆の見方もできるんだ。というのは、今見ていたPEGによるPEGの定義では、コメント... 続きを読む
SAC 1.0 is a standard interface for CSS parser and supposed to work with CSS1, CSS2, CSS3 (currently under development) and other CSS derived languages. Status Comments on SAC are invited and are to be sent to the public mailing list www-styl... 続きを読む
CSS Parser[Formerly the Steady State CSS2 Parser] Overview The CSS Parser is implemented as a package of Java classes, that inputs Cascading Style Sheets Level 2 source text and outputs a Document Object Model Level 2 Style tree. Alternativel... 続きを読む
Characters: A to Z Index and Search Blocks Fonts - check Unicode characters support in a specific font. Explanation of UTF-8 encoding and a UTF-8 browser test page. Categories Versions All of this information comes from the Unicode Consortium... 続きを読む