[Coco] The Coco's first webserver, written in Basic09

Wayne Campbell asa.rand at gmail.com
Wed Dec 30 19:31:20 EST 2009


Basic09 packs (compiles) into I-Code. It would not be expedient to run it in 
the Basdic09 editor/debugger, as it would be slower. This doesn't mean that 
Basic09 couldn't be used to parse web pages, though.

Wayne

----- Original Message ----- 
From: "Christian Lesage" <hyperfrog at gmail.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Wednesday, December 30, 2009 4:13 PM
Subject: Re: [Coco] The Coco's first webserver, written in Basic09


> Can't RUN be used for that purpose? The way I see it, every web page would 
> be a procedure that the server would RUN upon request. That way, you could 
> have dynamically-generated content because a web page would be a BASIC 
> script that writes HTML code.
>
> On the other hand, is BASIC09 always compiled? I mean, do you necessarily 
> have to compile your scripts before you can RUN them? IIRC, it is not 
> mandatory, but I could be wrong.
>
> Christian
>
> Wayne Campbell wrote:
>> OK. Looking it up on wikipedia, eval is a function that is mostly used by 
>> interpreters, and is usually not included in compiled languages. Since 
>> Basic09 is a compiled-interpreter, it may be that an eval function would 
>> not have been included. Also, since eval evaluates a string as an 
>> expression and returns a result, I can say there is nothing in Basic09 
>> that I am aware of that is like it.
>>
>> However, this does not mean it can't be written. Let me see what I can 
>> do.
>>
>> Wayne
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list