175 Commits (057e025ee37010b93d42d6706c86f9a87612b211)

Author SHA1 Message Date
triton bafbbaf90b Added a new pass to check for type references. 13 years ago
triton 7f71d6d73a Pass the driver options to the clean unit pass. 13 years ago
triton 979c07bb77 Replace the old transform code with the general AST visiting code, which was extended a bit to support the needed early out semantics for passes. 13 years ago
triton f7887333e7 Added a pass to clean translation units. 13 years ago
triton e9129ed27f Reworked the declaration ignore system so we can still process declarations as part of type maps even if they do not have mirror classes generated. 13 years ago
triton 7cd86515d1 Pass the driver to the setup method. 13 years ago
triton 53460027aa Print the diagnostic message and not the diagnostic class. 13 years ago
triton c98ea8d3c7 Extract the lambda into its own method. 13 years ago
triton 7da24a02f6 Improve the error handling of the Parse method so we can correctly diagnose the issue in the driver. 13 years ago
triton a01a3cccd3 Expand the paths so that they are correct when passed to Clang. 13 years ago
triton 5d0e8b99e3 Created a new top-level target executable ("Cxxi") and fixed the Generator to be a proper library. 13 years ago
triton 4510c3c947 Update the driver. 13 years ago
triton 0be133da70 Extract some generator logic into the driver. 13 years ago
triton 08a4e39e71 Added some more driver options. 13 years ago
triton 85223040bd Use extension methods to cleanup the LibraryHelpers class. 13 years ago
triton 34eeb8e052 Renamed Options to DriverOptions. 13 years ago
triton 3800ccf996 Added a pretty simple diagnostic system so we can provide improved diagnostics to clients. 13 years ago
triton 29851ceaba Extract the declaration sorting into its own pass. 13 years ago
triton 9462ddbcfd The parser now returns a ParserResult struct with diagnostic and library information. 13 years ago
triton eb8b0777be Removed unneeded usings. 13 years ago
triton 7ca4be7c65 Added header parsed callback. 13 years ago
triton 8cd61f8c1b Extract the parser-related code to a Parser.cs file. 13 years ago
triton 0c40927ab8 Rename TypeDatabase to TypeMapDatabase and move its initialization to the ctor. 13 years ago
triton a14b9f281f Initialize the library in the constructor. 13 years ago
triton 8f04cdd3af Renamed the CodeGenerator class to Driver. 13 years ago
triton 5e3263fd95 Moved the startup code to its own file. 13 years ago
triton 2923a262a3 Fixed extra diffs added by the rebasing proccess. 13 years ago
Tarmo Pikaro e203d5fcea Wire -Ddefine support. 13 years ago
Tarmo Pikaro bc317f8984 Add -vs <number> command line argument, add vs probing, hello world compilation with system headers. 13 years ago
Tarmo Pikaro d4e80fe566 Make -a command line optional, fix #include's, disable warnings. 13 years ago
Tarmo Pikaro dd0209275b Make compilable under vs2010, add build instructions, delete solutions as auto-generated, tune premake4 files. 13 years ago
triton a0a324974d Use the new passes for processing the source code. 13 years ago
triton d2ebc48068 Change the CodeGenerator and Program class to public since the Generator can now be used as a library. 13 years ago
triton faded38014 Keep the declaration order of classes and sort them before processing. This helps with some referencing order problems in the generated code. 13 years ago
triton 3c0b6e5620 Changed the generator to get the AST of each header individually. This fixes some problems that the old way had related to keeping track of forward references. 13 years ago
triton d421ce780f Clean up variable declaration. 13 years ago
triton f1ac9d7bc8 Propagate the type map database to the various generation steps. 13 years ago
triton f5fcef50f1 Massive update to the codebase. 13 years ago