d_to_html.d
Robert M. Münch via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Aug 9 08:23:55 PDT 2017
On 2017-08-05 19:07:50 +0000, WebFreak001 said:
> Hi, I made a D to HTML generator which is basically diet, but fully
> using the D compiler as generator and not some complicated parser, etc.
> Here an example what you pass in:
>
> string page = html(
> ...
That's pretty cool and comes very close to a domain specific language.
This would make it possible to get declarative GUI layout etc. in with
a much nicer syntax. Cool idea.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d-announce
mailing list