Martin Percossi wrote:
> Erick Tryzelaar wrote:
>
>> #syntax light
>>  whilst x do
>>    x = 1
>>    y = 2
>>  done
>> #endsyntax
>
> I don't like this because users will forget about the one on the bottom, 
> if, as I suspect they will, they surround the entire file with the 
> directives. Also, why is the "done" at the end necessary?

Oh sorry, you're right. That should be:

#syntax light

whilst x do
  x = 1
  y = 2

#endsyntax


And technically, felix should error out with a nice error message if 
there isn't a matching "endsyntax". I'm not crazy about this either, but 
I do think it's nicer than having $$s everywhere.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to