Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Mexpr Scheme

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 (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?

Name: Anonymous 2012-10-28 10:51

how do you access class/instance variables?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List