diet-ng
diet-ng copied to clipboard
Compile-time indentation based, XML structured template system
```pug a(href="/blah/blah" target="_blank") ``` results in a very long series of errors that aren't actually in the code. An example from my project: ``` job/edit.dt(417,51): Error: found `target` when expecting...
As it can be seen on the vibe.d website's about page it's split like: ``` p With vibe.d we are trying to bring the highest performance possible together with a...
Live mode outputs strings surrounding all statements. I have some hackish things to fix issues with if statements and return statements. But two other statements that cannot have output of...
For a variable of type `(string, string)[]` or `string[string]` it should be possible to apply all items in the array as attributes for any tag such that the keys (or...
The following code returns this HTML: ``` - foreach (i; 0..3) span #{i} span A ``` ```html 0 1 2A ``` Which look like this:  The `` tag uses...
Code to replicate this issue: https://github.com/KILLERTKK/vibed-bug Expected result: - Everything works fine Actual result: - Passed variable is corrupted while using it from within the template (including embedded D code)...
Right now usage of dietTraits requires either different template codepaths (`if (dice) compile!TraitsA else compile!TraitsB`) or global variables. This is a bit unfortunate since most mechanisms in the traits could...
Looking at the way diet parses and processes files, I firmly believe that the cached version is the better version. First off, it's going to use WAY less CTFE, because...
An import or extend treats the file as if it were all the same (Right?) file in terms of generating the AST from the parsed file. In essence, including a...