do semantic initialization function more granular to enable separation of code to shared, WIN grammar and OS/2 grammar parts