vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

separate rtl from SYSTEM? #14

Open norayr opened 8 years ago

norayr commented 8 years ago

does it make sense to separate RTL routines, like Init, LSH, from unportable and/or unsafe functions that SYSTEM encapsulates.

right now SYSTEM.o is linked to any voc program. does it make sense?

on the other hand, most weight of SYSTEM.o comes not from unportable functions, so we won't gain anything in size, but it will complicate the compiler, and requires a lot of changes.