HTML Dialect 0.0.4
02-Aug-2008 19:18 Filed in: HTML Dialect
I’m releasing version 0.0.4 now, as I feel
there will be a need for many more changes, but I
won’t keep the current changes under wraps any
longer.
Some changes are:
- Added OUTPUT-HTML function for direct HTML output to console.
- Code reorganized and cleaned up
- Some testing of the dialect using a testing framework.
- Dynamic input allowed for all inputs (cell-types and href-types)
- Traverse and loop work better now
- Tag rules for common HTML tags
- Private testing framework should increase the reliability of the dialect.
I also removed automatic formatting for links via a page list. I thought at first this was a good idea to include, but it has deeper ramifications than I first calculated and in fact can be a small project in itself. So to avoid ballooning the HTML dialect, this functionality has been removed. I’m contemplating a site dialect where such functionality can be more useful along with other site oriented functions.
Documentation is going up very soon. Documenting a dialect can be a surprisingly comprehensive thing, despite only being 350 lines of code, so this has taken a few days to complete, and I’m not entirely done yet.
There are some known bugs still:
- <script> is sometimes a single and sometimes a double tag. It’s currently treated as a double tag
- Cell-types results are not stackable
- Problems with nested traverse.
The forum is currently driven by version 0.0.4 of the dialect and so far it runs fine.
Notice also I’ve rearranged the HTML dialect directory so each version is stored under its own directory, so if you are loading the dialect directly from my site, you should use:
Where you replace “0.0.4” with the version number you desire. See here for a listing of available versions.
Some changes are:
- Added OUTPUT-HTML function for direct HTML output to console.
- Code reorganized and cleaned up
- Some testing of the dialect using a testing framework.
- Dynamic input allowed for all inputs (cell-types and href-types)
- Traverse and loop work better now
- Tag rules for common HTML tags
- Private testing framework should increase the reliability of the dialect.
I also removed automatic formatting for links via a page list. I thought at first this was a good idea to include, but it has deeper ramifications than I first calculated and in fact can be a small project in itself. So to avoid ballooning the HTML dialect, this functionality has been removed. I’m contemplating a site dialect where such functionality can be more useful along with other site oriented functions.
Documentation is going up very soon. Documenting a dialect can be a surprisingly comprehensive thing, despite only being 350 lines of code, so this has taken a few days to complete, and I’m not entirely done yet.
There are some known bugs still:
- <script> is sometimes a single and sometimes a double tag. It’s currently treated as a double tag
- Cell-types results are not stackable
- Problems with nested traverse.
The forum is currently driven by version 0.0.4 of the dialect and so far it runs fine.
Notice also I’ve rearranged the HTML dialect directory so each version is stored under its own directory, so if you are loading the dialect directly from my site, you should use:
do http://www.hmkdesign.dk/rebol/html-dialect/src/0.0.4/html.r
Where you replace “0.0.4” with the version number you desire. See here for a listing of available versions.
|