Re: javascript

bruce m beach <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <CAArymCkLV=qjYyYaighL8EVrU6gqZ3G7oLFavh7=Mv-8F_c2Mg@mail.gmail.com>
>> But you haven't added the most important thing: does your site
>> works under dillo w/duktape?  Because, y'know, that's more than
>> astounding to me!

Well yes that would be pretty astounding since duk-tape most certainly
wouldn't do anything since it was just linked in to the dillo
executable. Dillo has to be modified to use it, maybe a lot of
work. My guess is that somewhere in Dillo is a state machine that
parses out keywords or tokens from the incoming stream and when
it has a complete token it branches to handle the token. When the
token 'script' is found then the following text is passed to the
parser in duktape.

Bruce


On 8/25/15, Teodoro Santoni <[email protected]> wrote:
> On Mon, Aug 24, 2015 at 08:14:03PM -0700, bruce m beach wrote:
>> Hello everybody
>>
>> I completely happy with dillo just the way it is. I consider it
>> insane to go on the web with javascript enabled and apart from
>> gmail I don't normally have cookies enabled. (how can I
>> differentiate the two users? i.e I have dillo of user 1 on the
>> the screen and a dillo of user 2 also on the screen but the 2
>> dillo's are identical in appearance). Anyway all of a sudden
>> after using dillo for a year or so I find there is a website that
>> I absolutely must get on but it requires javascript. Well okay I
>> search the web to try to find something, anything that has
>> javascript (I've been searching for day and night for about a
>> week now) and find that there are two things
>>
>>  1) Massive huge bloatware
>>  2) dillo
>>
>> Most things don't build, or don't have any kind of a build system
>> or are for x86 (I'm on arm) so I figure I have to bite the bullet
>> and build firefox. I've been rolling my own system for about 20
>> years so so I know whats involved but after two config failures
>> and it failing on the gigantic final link after an 8 hour build,
>> I come to the conclusion that lifes not worth it. I don't want
>> that piece of junk on my computer anyway. Links2 at one time had
>> javascript but they abandoned it and elinks has javascript as
>> long as you have seamonkey installed (tarball>190Mbytes)
>>
>> Anybody got any ideas?
>>
>> I did find one thing. "duktape" (http://duktape.org/)which seems
>> to be an exceptionlly fine piece of code which is an embeddable
>> Ecmascript E5/E5.1 engine with a focus on portability and compact
>> footprint.  All the examples compiled out of the box and linking
>> it to dillo (duktape.c duktape.h) took a few minutes to change
>> the makefile.  The size's of the files are
>>
>> dillo  558,480
>> dillo  767,456 with ducttape
>>
>> I don't know enough to be able to do anything with it (I work
>> with hardware) but thought someone might be interested as a route
>> to get javascript on dillo.
>
> Astounding.
> But you haven't added the most important thing: does your site works under
> dillo w/duktape?
> Because, y'know, that's more than astounding to me!
>
> --
> Teodoro Santoni
>
> Something is wrong. I don't wanna compile 20 KB of Go code to list files.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.