From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:243]) by hurricane.the-brannons.com (Postfix) with ESMTP id BB6C977AC0 for ; Mon, 23 Dec 2013 07:36:30 -0800 (PST) Received: from omta06.westchester.pa.mail.comcast.net ([76.96.62.51]) by qmta13.westchester.pa.mail.comcast.net with comcast id 53B51n00316LCl05D3cTJW; Mon, 23 Dec 2013 15:36:27 +0000 Received: from eklhad ([107.5.36.150]) by omta06.westchester.pa.mail.comcast.net with comcast id 53cS1n00l3EMmQj3S3cSu1; Mon, 23 Dec 2013 15:36:27 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.4.9 Date: Mon, 23 Dec 2013 10:36:25 -0500 Message-ID: <20131123103625.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1387812987; bh=6ck4apFo24Tsc1nTn8Jw6oekZ2hwPTI6Zlsa6DKXIjE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=oEL6JWNUIoQzpxgixGPlXo6EMeFWLliHYS3ExS67AODd/WPbiogUc/4PEtQOyekXl +k1NT2e1RliSzHpGule6BY1nmwzls2M6x/ezFgeaWYDOOpTPDajktCUQpWs/kAvGvU p4qQNieDQ5XCVKil9JJu4yo9vrg+9GJYK71q2+8GvtoBM2sPxylYF6yFwZ6BUnoDz/ ZmIXuewY08ipm+DQOR/VAoAKdM+PUT7dktlXq6/uS2lJqzzDBEXur4+8MkGXdr4mlt LJkc9JwSqGE8z7ev6DYAW4y7b7kWCGiMsNcEsfjB6V2URyQosEhHcjZ76okw9IzyEo l6Cq4vf8JN0ww== Subject: [Edbrowse-dev] Mix X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 15:36:31 -0000 I'm reading through the online tutorial http://www.cplusplus.com/doc/tutorial It's interesting, I guess, though not as interesting as Shogun. It is reassuring, and unsettling, that you can mix C and C++. Here is a little program that is a mix of both, yet it compiles and runs fine. -------------------------------------------------- #include #include #include using namespace std; void duplicate( int& a, int& b) { a *= 2; b *= 2; } int main() { string s; getline(cin, s); cout << s << endl; int x = 6, y(7); duplicate(x, y); printf("%d,%d\n", x, y); } -------------------------------------------------- The point for us is that jsdom.c and jsdom.cpp might not have to be very different at all, since most of the c should carry along. Maybe we can get lucky and just change the calls to the js engine. Karl Dahlke