This post originated from an RSS feed registered with Ruby Buzz
by Red Handed.
Original Post: The Soda Languages
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Whoa, get ready to spend your whole afternoon tooling around with a small pile of little languages and compilers. I am completely hooked on Idst, a compiler for a hybrid prototype-based Smalltalk-plus-C language by Ian Piumarta. And atop the bedrock of Idst: the soda languages.
I first heard about Ian’s stuff in a #camping discussion where Pepsi (the Smalltalk/C hybrid) was brought up. Well, it turns out Idst also comes with a Lisp-like soda language called Jolt (see examples/jolt.) Other examples are just great and include a teensy Squeak VM (examples/sqvm) and some X11 samples (examples/x11.)
He explains the Pepsi syntax in an interview a few days ago on the Weekly Squeak:
You can mix C-code and ���Id��� code in a very simple way. So it is easy to integrate with O.S. services. The idea is quite the opposite of Objective-C: you think in terms of objects all the time (as in SmallTalk). Then you ���come back��� to C-Language for the dirty part of your work.
The syntax is suprisingly terse. You use curly braces to break out into a method written in C. Square brackets for Smalltalk-style.