I too tried to write something of that nature..
I can only say "Holey shit that was hard"
I gave up after 4 days
----- Original Message -----
From: "Cameron Hart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 2:55 AM
Subject: RE: [Dynapi-Dev] SSL error for IE 5.5
> jspack is written in perl, not lisp. unless you know of someother jspack?
>
> You could check for http://. I think my point is, this brute force
approach
> of creating exceptions for everything that could possible go wrong is not
a
> good approach. It will always be caught out by something. I've tried, I
> tried to get jspack to add semicolons to lines that didn't have them, but
> needed them. Just using regular expression was not enough. I needed to
keep
> track of state.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel
> > Holmen
> > Sent: 30 March 2001 21:50
> > To: DynAPI-Dev list
> > Subject: Re: [Dynapi-Dev] SSL error for IE 5.5
> >
> >
> > jspack is a lisp script. there should be no problem not removing
newlines.
> > As for http://, this can be avoided by checking for "http:" before the
> > "//"... Unfortunately I'm not that fluent in Lisp, but if this is
> > such a big
> > deal I can write a C++ program that does the same...
> >
> > ----- Original Message -----
> > From: "Cameron Hart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, March 30, 2001 2:31 AM
> > Subject: RE: [Dynapi-Dev] SSL error for IE 5.5
> >
> >
> > >
> > >
> > > The compression program we use wouldn't have a problem except that it
> > > removes new lines, and not everyone is in the habit of putting
> > semicolons
> > > at
> > > the end of a line. However if we told it not to remove newlines, then
we
> > > could use it.
> > >
> > > I actually found a problem with just removing all one line
> > comments if you
> > > happen to have a URL somewhere in your code, e.g.
> > > http://dynapi.sourceforge.net suddenly becomes http:
> > >
> > > The DynAPI fortunately doesn't have anything like the above in it (so
> > far).
> > >
> > > The only foolproof solution would be to rewrite a compiler that
> > parses the
> > > code correctly and rewrites it the way we want, without comments, and
> > > without newlines. This is not an easy task...
> > >
> > > Any computer science students out there with an LALR grammar for
> > Javascript
> > > and a desire to write a parser?
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel
> > > > Holmen
> > > > Sent: 30 March 2001 21:08
> > > > To: DynAPI-Dev list
> > > > Subject: Re: [Dynapi-Dev] SSL error for IE 5.5
> > > >
> > > >
> > > > What if everyone adds their comments as one-line comments (//).
These
> > are
> > > > easy to strip without any fuzz.
> > > >
> > > > ----- Original Message -----
> > > > From: "Cameron Hart" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, March 30, 2001 1:22 AM
> > > > Subject: RE: [Dynapi-Dev] SSL error for IE 5.5
> > > >
> > > >
> > > > >
> > > > >
> > > > > It was a workaround for a problem where IE did not receive
> > > > events in empty
> > > > > layers. So as long as you don't want to catch events on empty
layers
> > > you
> > > > > can
> > > > > remove it.
> > > > >
> > > > > As for the commments, there was talk of having a fully
> > > > commented version,
> > > > > and a compressed version. But the compressor (jspack) was pretty
> > fussy,
> > > > and
> > > > > with all the different coding styles of the contributors to
> > > > this project,
> > > > > it
> > > > > didn't work very well. So I think we are back to very few
> > > > comments again.
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Dynapi-Dev mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev