Erick Tryzelaar wrote:

> We talked about this when skaller implemented "$$". I believe his 
> reason against "#syntax light" was that it was a global declaration, 
> and he'd prefer not to have them. I think it may also complicate the 
> lexer. One alternative idea (that I never mentioned) I did have to 
> replace the current $$ form would be to do:
>
> #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?

> Personally though, I haven't yet been convinced that this *shouldn't* 
> be a global declaration. I think that swapping between the 
> space-sensitive and space-insensitive in a file could get confusing.

I agree.

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to