On Thu, 08 Jan 2009 15:27:56 +0000, Hendrik Boom wrote: > On Wed, 07 Jan 2009 21:13:12 -0500, Norman Ramsey wrote: > >>> Is it true that the only types on C-- are the bits8, bits16, etc., up >>> to >> > some small limit? (although they may be given new names by a type >> > definition) >> > >> > That it recognises nothing like C's structs and unions and so forth, >> > and that that is entirely the job of the front end, which will >> > likely be generating code containing a lot of numerical constants >> > for field offsets and the like? >> >> Yes, that's exactly right. > > Good. I've already started rewriting a code generator based on that > assumption.
In fact, the new front-end code generator is a lot like the original design for my code generator before its encounter with Janus. Still, I'm keeping the Janus code around, because (a) I might still someday retarget for a system that does insist on doing its own offset calculations. (b) It's a great help sometimes to see old and new code side-by-side when doing a major change. -- hendrik _______________________________________________ Cminusminus mailing list [email protected] https://cminusminus.org/mailman/listinfo/cminusminus
