dwsCodeGen.pas was removed from the DWS repository when the JS codegen units
were removed, because it was located in the JSCodeGen folder, and that entire
folder was removed.
However, this was not the right place for it to be, as dwsCodeGen is a base
class for code generators, and has nothing to do with JavaScript. It was quite
possible to derive a class from TdwsCodeGen to generate other outputs.
Unfortunately, this is no longer possible. Enough changes to the DWS
architecture have occurred that the most recent available revision of
dwsCodegen.pas no longer compiles, making it impossible to use DWS as a
frontend anymore.
As the purpose of removing the JS codegen work was directly related to Smart
Mobile Studio's JavaScript code generation, and as dwsCodegen.pas is a unit
that, by itself, has nothing to do with JavaScript but has many other useful
applications, it should be restored to the public DWS repository.
Original issue reported on code.google.com by masonwhe...@gmail.com on 28 Dec 2012 at 10:54
Original issue reported on code.google.com by
masonwhe...@gmail.com
on 28 Dec 2012 at 10:54