Working again on as and c99

News by khorben on 06/05/2008 15:48:01
Here is what happened in the last days:
  • converted the assembler code to use the pre-processing library [1] (and hence the Parser class [2]);
  • separated the assembler [3] into a library and an executable using it;
  • initiated the target plug-in framework in the compiler [4];
  • set the default target to use the assembler library.
Of course this went with its lots of cleanups, fixes and adjustments. Major tasks still need to be done though:
  • extend the assembler grammar;
  • implement an assembler API (internally as externally) that is flexible enough to be cross-platform;
  • fix the compiler grammar.
Things may stall here for a while though, as I need to re-re-learn x86 and sparc assembly, and how they both get translated into binary instructions.


[1] https://www.defora.org/os/project/display/250/cpp
[2] https://www.defora.org/os/project/browse/27/libSystem?file=/include/System/parser.h,v
[3] https://www.defora.org/os/project/display/15/as
[4] https://www.defora.org/os/project/display/890/c99