[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pretty-lambdas



Sundar Narasimhan <sundar@ascent.com> writes:

>      ^ (x y) (+ x y)
> So now I wonder idly.. how many other languages can do something like
> this (given this discussion started out re. macros after all :) --
> i.e. modify the base syntax for introducing something so basic.
>
> Python, Perl, Ruby, Smalltalk? Perhaps?

Perl currently has source filters, which allowed Damian Conway to
rejig things to allow for programming in Latin using some weird/insane
tricks. Perl 6 promises rather more powerful access to the
lexer/parser.

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?