Removing D embedded in HTML feature

Janice Caron caron800 at googlemail.com
Mon Mar 31 04:46:46 PDT 2008


On 31/03/2008, Lionello Lunesu <lionello at lunesu.remove.com> wrote:
> Believe it or not, I have plans for using it.
>
>  I've changed TiddlyWiki into an IDE for D (unofficially called TiddlyDee).
>  TiddlyWiki is basically a single HTML with huge amount of javascript for a
>  self-contained wiki.
>
>  I've changed it so you can tag wiki entries with the tag "D" which enables D
>  syntax coloring and allows the HTML to be compilable as-is. A button in the
>  same HTML compiles and runs the project, passing the HTML filename to DMD.
>
>  It's not really a serious project, but it sure is nice to have a
>  cross-platform IDE like that!

OK. But it wouldn't be /that/ hard to write a program which took an
HTML source file containing D as its input, and generated plain D
source as its output. With that, you'd only need a small change to
your build process and your project will still compile.

The question isn't "Should such a convertion tool exist?" (Of course
it should, coz ... why not?). The question is, "Should the requirement
be part of the D specification?" - a requirement which (if I have
understood this correctly) requires all D compilers to implement the
feature. I think that the answer to the first question is "yes", but
the answer to the second question is "no"



More information about the Digitalmars-d mailing list