Name: Anonymous 2012-10-27 11:11
Hello /prog/.
I'm making my own Scheme-like language with blackjack and hookers. It slowly became nearly as ugly as common lisp, so I decided to look through original McCarthy papers and implemented alternative syntax: http://pastebin.com/fiJKvvMY
New syntax causes new problems. The biggest problem bugging me now is method call syntax. Originally method call looked like
New syntax requires to write
Any ideas how to improve syntax?
I'm making my own Scheme-like language with blackjack and hookers. It slowly became nearly as ugly as common lisp, so I decided to look through original McCarthy papers and implemented alternative syntax: http://pastebin.com/fiJKvvMY
New syntax causes new problems. The biggest problem bugging me now is method call syntax. Originally method call looked like
(method object ...) where method is an expression which returns atom or an atom itself. This allows to choose method at run-time.New syntax requires to write
object #method[...] with method explicitly specified at compile-time. That looks like a problem to me.Any ideas how to improve syntax?