HTML Dialect Release

I'm now releasing the first alpha version of the HTML dialect that I intend to use for REBOL/Forum. I hope this will grow into a solid and extensive dialect later, but for now I feel the need to get it out among you, so you can study it and perhaps improve on it.

The dialect is meant to allow you to write HTML code without ever leaving the beloved REBOL syntax. The dialect syntax is also very small, letting you write very compact webpages. An example:

html-parse [page "My page" css style.css [div title "My webpage"]]

Produces this webpage:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My page</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body><div class="title">My webpage</div></body>
</html>

Read more examples in the documentation. As usual, the code is available in the Downloads section.

I hope you'll like this! Enjoy!

Edit: Fixed link to documentation. RapidWeaver does not like relative links in blog posts.
|