add spec available and changes in parser and scanner