summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-09-07 14:35:07 -0700
committerTim Foley <tfoley@nvidia.com>2017-09-11 09:50:56 -0700
commit14137cbd2ddd7deebcdf8cc85c30d534bec8e40b (patch)
tree5f9b010837de0c78f2f96e59388bf76e4cbd8575 /source/slang/emit.cpp
parent0e566a63f0bafb7def65521315e9f19a2bc79e34 (diff)
Initial work on boilerplate code generator
The goal here is to get the Slang "standard library" code out of string literals and into something a bit more like an actual code file. This is handled by having a `slang-generate` tool that can translate a "template" file that mixes raw Slang code (or any language we want to generate...) with generation logic that is implemented in C++ (currently). This work isn't final by any stretch of the imagination, but it moves a lot of code and not merging it ASAP will complicate other changes. My expectation is that the generator tool will be beefed up on an as-needed basis, to get our stdlib code working. Similarly, the stdlib code does not really take advantage of the new approach as much as it could. That is something we can clean up along the way as we do modifications of the stdlib.
Diffstat (limited to 'source/slang/emit.cpp')
0 files changed, 0 insertions, 0 deletions