ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[Activetcl] RES: RES: Mork Parser
by Ronaldo Juliatto other posts by this author
Jun 23 2008 5:40AM messages near this date
view in the new Beta List Site
Re: [Activetcl] FW: tcl error | [Activetcl] RES: Mork Parser
Andreas
 
Thanks for the clues. I will try to follow some of the suggestions.
 
Thanks again
 
Ronaldo Juliatto 
COMPSIS Computadores e Sistemas Ind. Com. Ltda. 
Aerospace Systems 
Phone: +55 12-2139-3966 
Fax: +55 12-2139-3999 
E-mail:  <mailto:ronaldo.juliatto@[...].br>  ronaldo.juliatto@[...].br 
Skype: ronaldo.juliatto 
Web:  <http://www.compsisnet.com.br/>  www.compsisnet.com.br 

-----Mensagem original-----
De: Andreas Kupries [mailto:andreask@[...].com] 
Enviada em: sexta-feira, 20 de junho de 2008 19:40
Para: Ronaldo Juliatto; Bahr, Michael; activetcl@[...].com
Assunto: RE: [Activetcl] RES: Mork Parser


Ok.
Well, bad news, I haven't heard of a Tcl implementation of such a thing ...
I dimly remember having heard of a perl-based decoder, now that my memory is on the right tr
ack ...
And googling for 'mork tcl' brings up your query here on this list up as the top result.
 
Is it not possible to simply use the python parser, via exec or open| ?
 
(I am guessing that you wish to convert firefox2 databases to firefox3 and sqlite).
Of course, if this parser is a package, not an application, then no.
 
Oh, I found a reference to some java code
 <http://www.mhaller.de/archives/6-Mork-or-what.html>      http://www.mhaller.de/archives/6-M
ork-or-what.html
 <http://www.smartwerkz.com/projects/jmork/>      http://www.smartwerkz.com/projects/jmork/
 
Who knows, maybe you can read that easier, with Java syntax nearer to C.
 
Ok, the site above refers to the perl code I mentioned as well, in a few steps
 
 <http://johnbokma.com/mexit/2004/04/19/mork.html>      http://johnbokma.com/mexit/2004/04/19
/mork.html
    =>  http://jwz.livejournal.com/312657.html
    =>  http://www.jwz.org/hacks/mork.pl
 
And format docs
 <http://groups.google.com/groups?selm=367AD1D1.A06EA4A3%40netscape.com>      http://groups.g
oogle.com/groups?selm=367AD1D1.A06EA4A3%40netscape.com
 <http://developer.mozilla.org/en/docs/Mork_Structure>      http://developer.mozilla.org/en/d
ocs/Mork_Structure
 

--
        Andreas Kupries <andreask@[...].com> 
        Developer @ http://www.ActiveState.com <http://www.activestate.com/>  
        Tel: +1 778-786-1122
  

-----Original Message-----
From: activetcl-bounces@[...].com [mailto:activetcl-bounces@[...].com]On Behalf Of Ronaldo J
uliatto
Sent: Friday, June 20, 2008 3:23 PM
To: Bahr, Michael; Andreas Kupries; activetcl@[...].com
Subject: [Activetcl] RES: Mork Parser


Hi
 
Mork is kind of a database language specification, used in the Firefox 2 history and some of
 other Mozilla applications, as the Address book in Thunderbird.
If you want an example of it, open the Firefox 2 history.dat (Firefox 3 uses sqlite). 
 
I found such parser in python, but I really don't want to learn python by now... 
 
Thanks
 
Ronaldo Juliatto 
COMPSIS Computadores e Sistemas Ind. Com. Ltda. 
Aerospace Systems 
Phone: +55 12-2139-3966 
Fax: +55 12-2139-3999 
E-mail:  <mailto:ronaldo.juliatto@[...].br>  ronaldo.juliatto@[...].br 
Skype: ronaldo.juliatto 
Web:  <http://www.compsisnet.com.br/>  www.compsisnet.com.br 

-----Mensagem original-----
De: Bahr, Michael [mailto:mbahr@[...].gov] 
Enviada em: ter�a-feira, 17 de junho de 2008 13:17
Para: Andreas Kupries; Ronaldo Juliatto; activetcl@[...].com
Assunto: RE: [Activetcl] Mork Parser


Mork is an alien from Ork.


  _____  

From: activetcl-bounces@[...].com [mailto:activetcl-bounces@[...].com] On Behalf Of Andreas 
Kupries
Sent: Tuesday, June 17, 2008 11:15 AM
To: Ronaldo Juliatto; activetcl@[...].com
Subject: Re: [Activetcl] Mork Parser


Ah. What is Mork?
--
        Andreas Kupries <andreask@[...].com> 
        Developer @ http://www.ActiveState.com <http://www.activestate.com/>  
        Tel: +1 778-786-1122
  

-----Original Message-----
From: activetcl-bounces@[...].com [mailto:activetcl-bounces@[...].com]On Behalf Of Ronaldo J
uliatto
Sent: Tuesday, June 17, 2008 5:54 AM
To: activetcl@[...].com
Subject: [Activetcl] Mork Parser


Hi
 
Would anybody know of an implementation of Mork parser in TCL?
 
Thanks in advance
 
Ronaldo Juliatto

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved