From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5C24277EFE for ; Sun, 30 Aug 2015 12:04:08 -0700 (PDT) Received: by wicpl12 with SMTP id pl12so10135875wic.1 for ; Sun, 30 Aug 2015 12:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5jdTxeq4Do0+y4xUHUaAWXjfIg/A/WSAV9jb88/TnY0=; b=E7rKv7dLLGeqk2Jl805sC6txjOWdDaLoWn47T6WeR/sqRziVr1iXTbjhAt079yunlE 6ovoyKPZNHqJtBTVZKl4+KypfvFMGvLongIRJse9OgrVgqmTRVSW0RM/v0LUk4Z63JzR cCsk0PIxlxUw37w80LfyfOGahc1z5XtguuRudwFszAKxiZ3WiT8EwTyC1t2kjbG6EFSw bi9ViHOAAX6tlIJqWsnhACNZhmgrMMHQEEi4dWwl/oX8FzGtnWHsAvvaJjMfkA2fWOgd MSY5Uj2IGa8yLg2JQjDjSs9wSDkk0yBLfRt1OHDQeikR4KjPHU/wdJsnElizQDrGZj9h dfVQ== X-Received: by 10.180.85.194 with SMTP id j2mr15425572wiz.11.1440961581326; Sun, 30 Aug 2015 12:06:21 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by smtp.gmail.com with ESMTPSA id kb1sm18584740wjc.24.2015.08.30.12.06.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 12:06:20 -0700 (PDT) Date: Sun, 30 Aug 2015 20:06:18 +0100 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20150830190618.GC23730@toaster.adamthompson.me.uk> References: <20150730073107.eklhad@comcast.net> <20150830114343.GB23730@toaster.adamthompson.me.uk> <20150730082107.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oTHb8nViIGeoXxdp" Content-Disposition: inline In-Reply-To: <20150730082107.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Edbrowse-dev] parser separation X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 19:04:08 -0000 --oTHb8nViIGeoXxdp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 30, 2015 at 08:21:07AM -0400, Karl Dahlke wrote: > > Still not sold on hubbub. >=20 > 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 cr= eating 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. --oTHb8nViIGeoXxdp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJV41QqAAoJELZ22lNQBzHOZHgIANEjFb7KAnoPtCQE7La3TFUH e1qFm008LohYpD+8BhIOOzGofUyqPGeZNyZXmQycRHztg+YWiQCO09MM2Nky1iuD d0Jm4ri9QBPDHCVK4ZVgL6HfyNDCJq2R6HqvtbQMKMRNCzqV/9HFxpw/ZaWu9tO5 b/yfCrMeXDr+lUqPqLVxVH2i37X5OkX48IyU6ktEuvdCM6bhDQuF82EszpKjfxoz tX7GC1BOB7gNjaXCUxSzKCR4WzNKjUOmCinrRCf+291YAa8Bg3dRX4GF/pj86gEF AcsLB6ksiyS42dJHI/xYKiEDupLHfXEDrIyOciwgL+wGy5eDvcEVGsrFfXkOVEQ= =0PY4 -----END PGP SIGNATURE----- --oTHb8nViIGeoXxdp--