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
Re: [Activetcl] RES: Mork Parser
by Andreas Kupries other posts by this author
Jun 20 2008 3:44PM messages near this date
view in the new Beta List Site
[Activetcl] RES: Mork Parser | [Activetcl] Can't get remote debugging to work
MensagemOk.
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 track ...
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.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://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://developer.mozilla.org/en/docs/Mork_Structure

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


  -----Original Message-----
  From: activetcl-bounces@[...].com
[mailto:activetcl-bounces@[...].com]On Behalf Of Ronaldo
Juliatto
  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: ronaldo.juliatto@[...].br
  Skype: ronaldo.juliatto
  Web: 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
              Tel: +1 778-786-1122

        -----Original Message-----
        From: activetcl-bounces@[...].com
[mailto:activetcl-bounces@[...].com]On Behalf Of Ronaldo
Juliatto
        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
Thread:
Ronaldo Juliatto
Andreas Kupries

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