mail icon Contact me

The NullScript Project

It all started when I wanted to know how ASP can handle interspersed calls to scripting languages. How, for example, does this make sense?

<%
    if (a > 1)
    {
%>
        <BOLD>In an if-stmt</BOLD>   
<%
    }
%>

The scripting language couldn't really get the if-statement fragment and later get the closing curly brace. It wouldn't be syntactic. So how do scripting hosts and scripting engines interact, under the covers? This was the exploration I did to figure it out.

Next: elaboration of the problem

© 2001-8 Hugh Brown. All rights reserved.