tmp: parser: working on scope tables