[Laszlo-dev] I would like to help
Oliver Steele
steele at laszlosystems.com
Tue Dec 7 13:50:17 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2456 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20041207/494575de/attachment.bin
More information about the Laszlo-dev
mailing list