News for hackers. Stuff that matters.
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by railsjedi on Wednesday February 23, 2011 @11:05PM (#2256881)
Rubini.us is looking like it's starting to gain a really solid community behind it. I'm looking forward to switching to it in the near future (probably if/when Heroku starts supporting it)

This article is making me wish could make CoffeeScript run within the Rubinius VM, and have access to the same objects and libraries of my Rails app.

Wish I had time to build that. Maybe someone smarter than me with some free cycles could take this project on :-)

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by SingAlong on Wednesday February 23, 2011 @10:35PM (#2256826)
Nice. It looks like the syntax is inspired by Javascript and Ruby.

A previous blog post on the Rubinius blog mentioned that they'll be talking about a Language Toolkit sometime soon.

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by swaits on Wednesday February 23, 2011 @11:41PM (#2256928)
Or Smalltalk maybe?
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by bakkdoor on Wednesday February 23, 2011 @10:46PM (#2256844)
Btw, here's a list of current features I forgot to link to in the post: https://github.com/bakkdoor/fancy/blob/master/doc/features.m...
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by pdelgallego on Thursday February 24, 2011 @08:55AM (#2257870)
I have this little scheme that I am writing (just for the sake of it), It would be great if you can write some blog about how to generate Rubinius bytecode.

So far I have been compiling to C, but I just created a horrible mess.

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by bakkdoor on Thursday February 24, 2011 @10:43PM (#2260961)
Yeah, I'll probably write up some of the stuff I've been doing with Fancy soon.
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by itsnotvalid on Thursday February 24, 2011 @05:08AM (#2257456)
I am seeing more people trying Rubinus VM to build languages / port languages: see https://github.com/vito/quanto for example.
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by ejdyksen on Thursday February 24, 2011 @01:05AM (#2257101)
I think the more accurate term is self-hosting:

http://en.wikipedia.org/wiki/Self-hosting

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by tianyicui on Thursday February 24, 2011 @01:17AM (#2257133)
Bootstrapping is accurate and used in many compiler related texts. http://en.wikipedia.org/wiki/Bootstrapping_(compilers)
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by drivebyacct2 on Wednesday February 23, 2011 @10:00PM (#2256765)
Is it petty of me that the unmatched single quotes drive me insane?
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by rst on Wednesday February 23, 2011 @10:07PM (#2256778)
Perhaps not --- but avoid exposure to Lisp.

(Unmatched single quotes are the easiest way to embed literal S-expression data inside Lisp S-expressions representing code.)

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by thefool on Wednesday February 23, 2011 @10:28PM (#2256814)
And ocaml, where you need them for polymorphism.
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by riffraff on Thursday February 24, 2011 @01:18AM (#2257137)
and scala, where they also represent symbols
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by bakkdoor on Wednesday February 23, 2011 @10:06PM (#2256775)
You mean symbol literals? Ruby uses :foo but that would mix up with the keyword message syntax. So I took Lisp's syntax: 'foo =) Also, since you'll want to have syntax for message names as well, they need to be able to have colons in them, e.g. 'foo:bar:. Basically anything non-whitespace starting with a "'" is taken as a symbol literal.
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by omaranto on Wednesday February 23, 2011 @10:26PM (#2256811)
It's always bugged me that many programming languages instead of using matching opening and closing quotes surround strings in pairs of closing quotes! )I guess most fonts that programmer's use render these as a sort of neutral vertical quote, so that strings don't look so silly.)
Re:Fancy: first bootstrapped language targeting Rubinius VM ... by quag on Wednesday February 23, 2011 @10:35PM (#2256829)
Ascii (and keyboards) only have a single key for ' and ". They are used as both apostrophes, and quotation marks. Typing in code using proper opening and closing quotation marks would be tedious. Editors could choose to apply some smarts and display strings wrapped in quotes using "curly quotes", but that complicates copy-and-paste and so on.

Given the entry situation, the only sane thing to do is use a font that makes both ' and " vertical bars.

Re:Fancy: first bootstrapped language targeting Rubinius VM ... by stopmi on Wednesday February 23, 2011 @10:19PM (#2256801)
think of them as apostrophes