rbnarcissus
rbNarcissus - JavaScript parsing in Ruby
So this weekend gone I decided it was about time for me to turn back to the server for a little action, having spent my life on the client for as long as I can remember now. I thought maybe I'd throw together a bit of PHP and revel in the luxery of a foreach statement. But I'm young and trendy, I script in Python, I've known JavaScript since DHTML was teh sux0r. Joyce mocked my plans for some PHP loving, and suggested all the cool kids use Ruby, and Ruby on Rails. She then proceeded to ridicule me, and I caved; I'm not strong.
So for the past couple of days I devoted my long long commute, sitting on the public transport system of San Francisco Bay Area, to learning a little Ruby and working on a script that lets me stay in reach of the familier and friendly world of JavaScript, a JavaScript parser. The result, a port of the Mozilla Foundation's Narcissus JavaScript parser written in Ruby: rbNarcissus.
Currently only a parser with nary an interpreter in sight it has questionable use. It's also my first Ruby script and so probably doesn't follow the conventions amazingly well; I've still very much got my JavaScript hat on, waving the flag and singing the anthem (and plugging Dojo).

2 Comments:
Did you move to San Francisco? That's great. I spent two years there and loved it. -- Evan Rose
So... excuse my ignorance, but what exactly does this script do? Does it have any practical uses that I could utilize?
Thanks,
Richard
Post a Comment
<< Home