DQNEO / babygo

babygo👶 is a small Go compiler made from scratch, which can compile itself. It's going to be the smallest and simplest go compiler in the world.
MIT License
291 stars 20 forks source link

main.go: Rename Meta* objects (types, funcs and vars) to IR or MIR names #92

Open DQNEO opened 1 year ago

DQNEO commented 1 year ago

I named middle layer objects "Meta" because originally they were additional information to AST objects, but over time they grew bigger and now they are not only "additional" stuff. Actually they are main objects that the code generator is directly dealing with.

New names can be "IRXxx" or "MIRXxxx"

DQNEO commented 1 year ago

This kind of massive renaming would cause a large amount of conflicts, so we should take care of other big ongoing branches.