5:26:54beachI am contemplating the replacement of CLEAVIR-ENV by Trucler. But we need to store the AST in the function description instance for inlining purposes. Now, Trucler does not know about ASTs, so I am thinking of adding a slot INLINE-INFORMATION to the INLINE mixin class. Any thoughts?
9:11:35beachheisig: What do you think about adding a slot+accessor to the inline-mixin of Trucler, containing information for the client to actually inline the function?
9:12:19beachheisig: In Cleavir-env, it is called AST, but I think it would be inappropriate to assume that clents store ASTs for this information.
9:14:03heisigbeach: What do you mean by 'information to actually inline the function'? Some representation of the code to be inlined?
9:14:33beachAlternatively, we can have the INLINE slot have the 3 possible values: NIL meaning no information has been given, :notinline with the obvious meaning or any True value meaning :inline has been given and this is the information to be used by the client.
9:15:03heisigNah, that would violate Pitman's two bit rule.
9:15:13beachBut the last solution prevents client code from inlining when no declaration has been established.