[m-rev.] diff: fix Mantis bug 528

Dirk Ziegemeyer dirk at ziegemeyer.de
Sun Jan 31 22:25:05 AEDT 2021


Hi Julien,

> Am 30.01.2021 um 14:14 schrieb Julien Fischer <jfischer at opturion.com>:
> 
> 
> Hi Dirk,
> 
> On Fri, 29 Jan 2021, Dirk Ziegemeyer wrote:
> 
>> My goal is to have a type- (and maybe inst-) level representation of HTML and CSS that allows easy writing and refactoring of web pages. I don't need a guarantee for all types of HTML validations if the effort-to-benefit-ratio is poor. Any improvement on my current workflow/toolset would be good. Especially:
>> - Write valid HTML and CSS with compiler-support
>> - Allowing modern, responsive and mobile-first design
>> - No more fiddling around with CSS
>> - No CSS preprocessors any more
>> - No need to include third-party CSS frameworks
>> - Less risk to break search engine optimisations during refactoring
>> 
>> I will see how far I will get …
> 
> I did start writing something similar a few years ago, for HTML at
> least.  I've attached a gzipped tarball of my code in case it is of
> interest.  I had an alternative version of the attached code that made
> use of inst subtyping to enforce structure, but can't remember where I
> put it.  From memory, it worked (aside from a couple of compiler bugs),
> but was a bit awkward to work with.

Thank you for your Mercury HTML code. It is a good source of inspiration.

Dirk


More information about the reviews mailing list