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

Julien Fischer jfischer at opturion.com
Sun Jan 31 00:14:02 AEDT 2021

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: web.tar.gz
Type: application/gzip
Size: 9023 bytes
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210131/96f02e96/attachment.gz>

More information about the reviews mailing list