[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current state of the `ooc' project?
Juergen wrote:
> But now for you. As the frontend is there and considered `working',
> I'm very much interested if someone has got some experience in trying
> to write a backend for the GSA code. I myself have no idea how the GSA
> code could be translated to object files (machine language) for a
> specific processor.
> Also, has anyone tried to work on some optimization stuff?
I'm currently working on an ANSI-C back-end. Progress is slow, but
there is some. My current schedule looks like this:
1) Implement generation of C declarations. I want to be able to put
an Oberon-2 module though the compiler and get correct C files
containing all global declarations (but without a single statement).
2) Extend `make' to call the C compiler.
3) Add modifiers for declarations and type constructors to model C
types. With this I'll be able to write interface modules describing
access to arbitrary C libraries.
4) Translate GSA code into C statements.
The first point is tricky, 2) and 3) shouldn't be that hard, and I
only have fragmentary ideas how to do 4) . Time will tell, I guess. ;-)
None of the above should effect the front-end.
-- mva