Den tisdagen den 15:e juli 2014 kl. 17:52:01 UTC+2 skrev Evertjan.:
> jonas.thornvall@gmail.com wrote on 15 jul 2014 in comp.lang.javascript:
>
>
>
> I wrote:
>
> >> Please do not confuse VB, which has it own dedicated execution engine,
>
> >> with VBS, which, like JS too, needs an interface environment.
>
> >
>
> > I have written a little VB code and it had interface and could be
>
> > compiled into executable applications. So why could not a
>
> > DHTML/Javascript crosscompiler generate a similar crossproduct, basicly
>
> > compile a rudimentary browser that interface the Javascript code that
>
> > run within it?
>
>
>
> Please reread my answers,
>
> VB has it's own interface environment, vbs and js have not,
>
> so you need an external environment.
>
>
>
> Wether you use a browser or make one does not change the fact that you need
>
> an external environment.
>
>
>
> Please look up what cross-compiler meeans.
>
>
>
>
>
> --
>
> Evertjan.
>
> The Netherlands.
>
> (Please change the x'es to dots in my emailaddress)
I know a crosscompiler is a compiler for different proocessor architectures, but i speak about a program that cross compiles script using different standards "DHTML and ECMAscript".
Well i simply lacked a name for it since there isn't any, and call it a crosscompiler was not that farfetched.
And i understand you say that both HTML, DHTML, CSS, Javascript is scripted code languages that run and is interpretated by a browser.
And just as you say the browser is the precompiled interface that the interpretators run within.
But what i say is that a rudimentary browser interface is basicly a window, URL and eventhandler that run modules that interpretate DHTML and Javascript.
The browser source and it modules probably programmed in C++, and one could replace the HTML interpretator module and Javascript interpretator invoking compiled HTML and Javascript code?
And i realise it probably isn't that easy as i make it sound.