>>547
どこまで字句解析でやるかは人それぞれだと思うけど、
言語仕様の「字句構造」の要素に分けるとこんな感じ。

identifier : writeint
separator : (
separator : (
identifier : a
operator : +
identifier : b
separator : )
operator : /
identifier : cd
separator : )
separator : ;