atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
227 stars 31 forks source link

simplify generated D code for literal macros #336

Closed WebFreak001 closed 1 year ago

WebFreak001 commented 1 year ago

fix #263

single token string and integer literals are emitted as-is with this, without running through the is(typeof()) check.

Since all integers and strings should be representable in D, they should be fine to be included directly after translation.