[Laszlo-dev] I would like to help

David Davis david.davis at gmail.com
Tue Dec 7 14:34:43 PST 2004


Why should it allow spaces?  Because people misspell 'teh' on purpose
doesn't make it right. :)

David

On Tue, 7 Dec 2004 22:11:34 +0000, Bruno Silva
<brunomsilvawork at gmail.com> wrote:
> >From the wiki, I understand you are using JavaCC to parse the text. I
> have already used in a small project, so if you want me to, i would
> give a look at that area. According to the regexp
> "\s*$\s*(immediately|once|always)?\s*\{(.*)\}\s*",  something like "
> $   { df}    " would be ok or even "   $   { }   ", is this the
> expected behaviour?? By the way, is there a component repository
> already?  I think this is also a very important step for global
> adoption.
> 
> Bruno
> 
> On Tue, 7 Dec 2004 16:50:17 -0500, Oliver Steele
> 
> 
> <steele at laszlosystems.com> wrote:
> > On Dec 7, 2004, at 5:41 AM, Bruno Silva wrote:
> >
> > > Hmm,
> > >
> > > well i don't feel very comfortable with flash but everything else
> > > looks fine to me. Isn't there any team which might need an extra
> > > member? I was hoping you would give me some guidance.
> > >
> > > Bruno
> >
> > You bet.  We would be thrilled to have you work on compiler warnings,
> > and on attribute parsing (which is related).  This is an area that is
> > purely in Java, and makes a huge difference to people's first
> > experience with the product, and therefore to its adoption.  It's also
> > an area that we badly need help with.
> >
> > Here's a problem that came up recently.  The following program:
> >    <canvas>
> >      <view width=" ${50}" height="50" bgcolor="red"/>
> >    </canvas>
> > gets a cryptic compilation error:
> >    test.lzx:2:53: Syntax error: the token "{" was not expected at this
> > position.
> > It also gets a terrible compilation warning:
> >    test.lzx:2:51: The value of the 'width' attribute uses a deprecated
> > syntax. Use width="${ ${50}}" instead.
> >
> > The program is fine, it's just that there's a space before the "${" in
> > width=" ${50}".
> >
> > The problem is in the way NodeCompiler.compileAttribute, in
> > WEB-INF/lps/server/src/com/laszlosystems/compiler/NodeCompiler.java,
> > parses the attribute.  It should use a regular expression instead of
> > string.startsWith().  I think the regular expression is something like
> > "\s*$\s*(immediately|once|always)?\s*\{(.*)\}\s*".
> >
> > Would you be interested in looking at this?
> >
> >
> >
> > > On Mon, 6 Dec 2004 16:30:07 -0800, Andrew Wooldridge
> > > <triptych at gmail.com> wrote:
> > >> take a look at the road map - that might help steer you in the right
> > >> direction.
> > >>
> > >> http://openlaszlo.org/development/roadmap/
> > >>
> > >> -Andrew
> > >>
> > >>
> > >>
> > >>
> > >> On Mon, 6 Dec 2004 15:09:38 +0000, Bruno Silva
> > >> <brunomsilvawork at gmail.com> wrote:
> > >>> Hi,
> > >>>
> > >>> i've been having a look at Laszlo this week and was so impressed that
> > >>> I'm planning on developing all my future sites using it. I have some
> > >>> experience with OOP (mainly Java and C#) so if you have anything that
> > >>> you think that i could be useful for, just say so.
> > >>>
> > >>> Cheers,
> > >>>   Bruno Silva
> > >>> _______________________________________________
> > >>> Laszlo-dev mailing list
> > >>> Laszlo-dev at openlaszlo.org
> > >>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> > >>>
> > >>
> > > _______________________________________________
> >
> >
> > > Laszlo-dev mailing list
> > > Laszlo-dev at openlaszlo.org
> > > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> >
> >
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>


More information about the Laszlo-dev mailing list