{******************************************} { } { FastScript v1.9 } { JScript grammar } { } { (c) 2003-2007 by Alexander Tzyganenko, } { Fast Reports Inc } { } {******************************************} unit fs_ijs; interface {$i fs.inc} uses SysUtils, Classes, fs_itools; type TfsJScript = class(TComponent); implementation const JS_GRAMMAR = '' + '' + '<' + 'loop text=","><' + 'char text="!" add="op" addtext="not"/>' + '<' + 'char text="-" add="op"/><' + 'expression err="err2"/>' + '<' + 'forstmtitem/>'; initialization fsRegisterLanguage('JScript', JS_GRAMMAR); end.