25 May
2015
25 May
'15
4:36 a.m.
How do I write out exported procedures with parameters from object file using AOS ?
? "write out": * to live execute <- no: export is not applicable. * to compile <- yes apparently. Required parameters are contained in *.Obj. [wily for linux based on plan9 - copied from ETHO; is good for these lisp-like tricks] A most simple <parameter> from *.Obj could be <size of *.Obj> But let's go deeper. Here we see the weakness of OberonCode: why don't/can't we ever use: PROC XprtedProc(FileSize(Fl1) - FileSize(Fl2) + Count(Ret,Fl1)): Magic; where Count(Ret,Fl1) is the count of the <ret instruction> in *.Obj, obtained via: Decoder.Open Fl1.Obj == Chris Glur.