Racket has an option for that. It's a meta-language that I made this morning.

#lang colon-kw racket

You can use it for one or two files without messing up everything else. 


> On Oct 14, 2015, at 2:19 PM, Martin DeMello <martindeme...@gmail.com> wrote:
> 
> Chicken scheme has an option for that: 
> http://wiki.call-cc.org/man/4/Non-standard%20read%20syntax#keyword 
> <http://wiki.call-cc.org/man/4/Non-standard%20read%20syntax#keyword>
> 
> I'm a fan; it makes the code pretty pleasant to read.
> 
> martin
> 
> On Wed, Oct 14, 2015 at 9:29 AM, Jukka Tuominen <jukka.tuomi...@finndesign.fi 
> <mailto:jukka.tuomi...@finndesign.fi>> wrote:
> Yoda like that would, but to me it looks backwards. How about...?
> key: value
> 
> br, jukka
> UX Manager :)
> 
> Sent from my iPhone
> 
> > On 14.10.2015, at 18.50, Neil Van Dyke <n...@neilvandyke.org 
> > <mailto:n...@neilvandyke.org>> wrote:
> >
> > We are conducting a highly scientific poll.
> >
> > The question we want to answer is whether people would like for the Racket 
> > standard languages to have symbols that begin with the colon character 
> > (except for the symbol `:`) to read the same has keywords that begin with 
> > pound-colon.
> >
> > That is, when this glorious colon-keywords support is added, instead of 
> > having to type and look at:
> >
> >    (foo #:abc 1 #:xyx 42)
> >
> > you can choose to bask in the beauty of:
> >
> >    (foo :abc 1 :xyx 42)
> >
> > Then you would be free to use the gorgeous colon-keywords everywhere in 
> > Racket, including in quick one-line examples in email list posts.
> >
> > All people of great aesthetic sense, intellect, and good moral fiber, who 
> > would naturally like everyone to have the right to use either 
> > colon-keywords or (eww) pound-colon keywords (in unity, and without 
> > unnecessary `#lang` schisms!), should answer the quick poll:
> >
> >    http://goo.gl/forms/Kwl3uZVMsb <http://goo.gl/forms/Kwl3uZVMsb>
> >
> > (When the poll question asks "Is it worth changing?", read it is as "You 
> > are a good person, and you naturally think Racket should support both 
> > colon-keywords and pound-colon keywords, right?")
> >
> > I call upon all freedom-loving Racketeers to stand up and fight for the 
> > righteous cause of colon-keywords.  The moment to answer this highly 
> > scientific poll is now.
> >
> > Neil V.
> >

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to