[Coco] The Coco's first webserver, written in Basic09
hyperfrog at gmail.com
Wed Dec 30 19:13:40 EST 2009
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.
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
More information about the Coco