edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] parser separation
Date: Sun, 30 Aug 2015 20:06:18 +0100	[thread overview]
Message-ID: <20150830190618.GC23730@toaster.adamthompson.me.uk> (raw)
In-Reply-To: <20150730082107.eklhad@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

On Sun, Aug 30, 2015 at 08:21:07AM -0400, Karl Dahlke wrote:
> > Still not sold on hubbub.
> 
> Oh I'm not either, not at all,
> just like I'm not sold on v8 -
> but encapsulating things in separate sourcefiles gives us options,
> and flexibility, and sometimes leads to a better design.
> I'll get started on this today.

Agreed, one of the things I'd like to do is decouple the parsing logic from js
value creation and property setting.
The two are semantically different operations,
and the js stuff shouldn't be done if js is disabled anyway.
The DOM, when created, needs to know about js stuff,
though Ideally I'm aiming for an api which exposes our DOM to js without creating js
objects for everything and then syncing things around.
I'm not sure exactly how this would work,
but I don't want to have to reparse everything multiple times for the sake of
js object creation, or have the parser creating js objects in its node tree.

> And I agree we don't have to build a fully functional node right now,
> but there are I suspect a few things we'll need to add to take advantage of tidy.
> More on this later.

Indeed, that makes sense.

Cheers,
Adam.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-08-30 19:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-30 11:31 Karl Dahlke
2015-08-30 11:43 ` Adam Thompson
2015-08-30 12:21   ` Karl Dahlke
2015-08-30 19:06     ` Adam Thompson [this message]
2015-08-30 19:25       ` Karl Dahlke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150830190618.GC23730@toaster.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    --cc=eklhad@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).