felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

separate the symbol table and the ast visitors in the sema... #63

Open felixangell opened 6 years ago

felixangell commented 6 years ago

this causes some awkward code in the sema phase

felixangell commented 6 years ago

to elaborate... the visitor handles the symbol table pushing/tracking which makes things very awkward and this isnt really what the visitor should do because some analyzers that implement this dont care about the sym table