[racket-dev] P4P: A Syntax Proposal
On Jul 29, 2010, at 9:51 AM, Shriram Krishnamurthi wrote:
> On Thu, Jul 29, 2010 at 9:12 AM, Michael Sperber
> <sperber at deinprogramm.de> wrote:
>> Well, except for a bunch of renamings (... in the direction of
>> ... Common Lisp ...?), that doesn't really show yet.
>
> I'm not going to repeat what I've already explained in detail in the
> document. (If the document isn't clear, I'd be happy to clarify, but
> you don't seem to be asking questions based on the document at all.)
>
> If I understand correctly, SRFI-49 essentially inserts parens
> according to indentation. Thus, if you changed indentation, you could
> change the meaning of the program.
>
> P4P *checks* indentation but does not let indentation define meaning.
>
Which basically means P4P syntax is not indentation based, it just has an extra style checker component added into the parser. (Personally I think the style checker should be part of the IDE, not enforced by a compiler since it has nothing to do with whether a program is parsable.)
> Shriram
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev
-Everett