The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Ola's Clever Hpricot Hack

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Ola's Clever Hpricot Hack Posted: Feb 6, 2007 9:09 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Ola's Clever Hpricot Hack
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

If you’re running JRuby from trunk, try this:

 $ gem install hpricot --source http://code.whytheluckystiff.net 
 Select which gem to install for your platform (java) 
 1. hpricot 0.5.110 (jruby) 
 2. hpricot 0.5.110 (mswin32) 
 3. hpricot 0.5.110 (ruby) 
 > 1 
 Successfully installed hpricot-0.5.110-jruby 
 Installing ri documentation for hpricot-0.5.110-jruby... 
 Installing RDoc documentation for hpricot-0.5.110-jruby...

But how is this possible given that Hpricot’s parser is written in C?? Because Ragel can generate Java code! Ola goes into it.

Read: Ola's Clever Hpricot Hack

Topic: Clustering JRuby with Open Terracotta Previous Topic   Next Topic Topic: How has Ruby blown my mind?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use