logoalt Hacker News

chuckadams • today at 5:01 AM • 1 reply • view on HN

The ironic thing is that the old-school ancestor to CSS already was a programming language: DSSSL was a dialect of scheme.


Replies

lioeters • today at 6:35 AM

That DSSSL syntax looks a lot better subjectively.

    (element doc
        (make paragraph
            font-size:    20pt
            line-spacing: 20pt
            font-weight:  'bold
            color:        color-purple
            (process-children)))
In an alternate universe timeline, we could have had a single web language for hypertext, styles, and scripting.