[ANN] enterprise 1.0.0 Released

enterprise version 1.0.0 has been released!

* <http://github.com/tenderlove/enterprise/>

Wish you could write your Ruby in XML? Has the fact that Ruby is not
"enterprise" got you down? Do you feel like your Ruby code could be made to
be more "scalable"? Well look no further my friend. You've found the
enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
faster, your code more attractive, *and* have more XML in your life.

I'm sure you're asking yourself, "how can the enterprise gem promise so
much?". Well the answer is easy, through the magic of XML! The enterprise
gem allows you to write your Ruby code in XML, therefore making your Ruby and
Rails code scale. Benefits of writing your code in XML include:

* It's easy to read!
* It scales!
* Cross platform
* TRANSFORM! your code using XSLT!
* Search your AST with XPath *or* CSS!

The enterprise gem even comes with a handy "enterprise" binary to help you
start converting your existing *legacy* Ruby code in to scaleable, easy to
read XML files. Let's start getting rid of that nasty Ruby code and replacing
it with XML today!

## FEATURES/PROBLEMS:

* require files completely written in XML
* convert existing legacy ruby code to XML

## SYNOPSIS:

Let's say you have some legacy Ruby code that looks like this:

  class Foo
    def hello_world
      "bar"
    end
  end
  
  puts Foo.new.hello_world

Let's convert that crappy ruby code to XML:

  <?xml version="1.0"?>
  <s>
    <block type="Symbol" value="block"/>
    <s>
      <class type="Symbol" value="class"/>
      <Foo type="Symbol" value="Foo"/>
      <special type="NilClass" value=""/>
      <s>
        <scope type="Symbol" value="scope"/>
        <s>
          <defn type="Symbol" value="defn"/>
          <special type="Symbol" value="hello_world"/>
          <s>
            <args type="Symbol" value="args"/>
          </s>
          <s>
            <scope type="Symbol" value="scope"/>
            <s>
              <block type="Symbol" value="block"/>
              <s>
                <str type="Symbol" value="str"/>
                <bar type="String" value="bar"/>
              </s>
            </s>
          </s>
        </s>
      </s>
    </s>
    <s>
      <call type="Symbol" value="call"/>
      <special type="NilClass" value=""/>
      <puts type="Symbol" value="puts"/>
      <s>
        <arglist type="Symbol" value="arglist"/>
        <s>
          <call type="Symbol" value="call"/>
          <s>
            <call type="Symbol" value="call"/>
            <s>
              <const type="Symbol" value="const"/>
              <Foo type="Symbol" value="Foo"/>
            </s>
            <new type="Symbol" value="new"/>
            <s>
              <arglist type="Symbol" value="arglist"/>
            </s>
          </s>
          <special type="Symbol" value="hello_world"/>
          <s>
            <arglist type="Symbol" value="arglist"/>
          </s>
        </s>
      </s>
    </s>
  </s>

Now, simply save that XML file out to "test.xml". With the enterprise gem,
to execute this xml file, we just do:

  $ enterprise_ruby test.xml

enterprise lets you do a require on pure xml files too. We can load the
test.xml file like so:

  require 'rubygems'
  require 'enterprise'
  require 'test'

The final feature is an enterprise migration assistant. To migrate an entire
project to be enterprise, just do this:

  $ enterprise some_directory

To make a single file enterprise, just give it the filename:

  $ enterprise some_file.rb

I'm sure you're asking yourself, "how much does this enterprise solution cost
me?". Well, like any good enterprise system, it is insanely expensive. This
gem will cost you eleventy billion dollars payable to me, now.

## REQUIREMENTS:

Like all good enterprise solutions, we do our best to get you stuck in a web
of dependencies. We are working hard to increase the number of dependencies,
but here is the current list

* ruby2ruby
* ruby_parser
* nokogiri
* polyglot

## INSTALL:

* sudo gem install enterprise
Changes:

### 1.0.0 / 2009-06-17

* 1 major enhancement

  * Entering in to the enterprise
  * Bringing ruby in the back door

···

--
Aaron Patterson
http://tenderlovemaking.com/

Sorry, but it ain't enterprise unless it costs at least $1500 per
developer seat!

···

On Wed, Jun 17, 2009 at 9:15 PM, Aaron Patterson<aaron@tenderlovemaking.com> wrote:

enterprise version 1.0.0 has been released!

* <http://github.com/tenderlove/enterprise/&gt;

Wish you could write your Ruby in XML? Has the fact that Ruby is not
"enterprise" got you down? Do you feel like your Ruby code could be made to
be more "scalable"? Well look no further my friend. You've found the
enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
faster, your code more attractive, *and* have more XML in your life.

I'm sure you're asking yourself, "how can the enterprise gem promise so
much?". Well the answer is easy, through the magic of XML! The enterprise
gem allows you to write your Ruby code in XML, therefore making your Ruby and
Rails code scale. Benefits of writing your code in XML include:

* It's easy to read!
* It scales!
* Cross platform
* TRANSFORM! your code using XSLT!
* Search your AST with XPath *or* CSS!

The enterprise gem even comes with a handy "enterprise" binary to help you
start converting your existing *legacy* Ruby code in to scaleable, easy to
read XML files. Let's start getting rid of that nasty Ruby code and replacing
it with XML today!

## FEATURES/PROBLEMS:

* require files completely written in XML
* convert existing legacy ruby code to XML

## SYNOPSIS:

Let's say you have some legacy Ruby code that looks like this:

class Foo
def hello_world
"bar"
end
end

puts Foo.new.hello_world

Let's convert that crappy ruby code to XML:

<?xml version="1.0"?>
<s>
<block type="Symbol" value="block"/>
<s>
<class type="Symbol" value="class"/>
<Foo type="Symbol" value="Foo"/>
<special type="NilClass" value=""/>
<s>
<scope type="Symbol" value="scope"/>
<s>
<defn type="Symbol" value="defn"/>
<special type="Symbol" value="hello_world"/>
<s>
<args type="Symbol" value="args"/>
</s>
<s>
<scope type="Symbol" value="scope"/>
<s>
<block type="Symbol" value="block"/>
<s>
<str type="Symbol" value="str"/>
<bar type="String" value="bar"/>
</s>
</s>
</s>
</s>
</s>
</s>
<s>
<call type="Symbol" value="call"/>
<special type="NilClass" value=""/>
<puts type="Symbol" value="puts"/>
<s>
<arglist type="Symbol" value="arglist"/>
<s>
<call type="Symbol" value="call"/>
<s>
<call type="Symbol" value="call"/>
<s>
<const type="Symbol" value="const"/>
<Foo type="Symbol" value="Foo"/>
</s>
<new type="Symbol" value="new"/>
<s>
<arglist type="Symbol" value="arglist"/>
</s>
</s>
<special type="Symbol" value="hello_world"/>
<s>
<arglist type="Symbol" value="arglist"/>
</s>
</s>
</s>
</s>
</s>

Now, simply save that XML file out to "test.xml". With the enterprise gem,
to execute this xml file, we just do:

$ enterprise_ruby test.xml

enterprise lets you do a require on pure xml files too. We can load the
test.xml file like so:

require 'rubygems'
require 'enterprise'
require 'test'

The final feature is an enterprise migration assistant. To migrate an entire
project to be enterprise, just do this:

$ enterprise some_directory

To make a single file enterprise, just give it the filename:

$ enterprise some_file.rb

I'm sure you're asking yourself, "how much does this enterprise solution cost
me?". Well, like any good enterprise system, it is insanely expensive. This
gem will cost you eleventy billion dollars payable to me, now.

## REQUIREMENTS:

Like all good enterprise solutions, we do our best to get you stuck in a web
of dependencies. We are working hard to increase the number of dependencies,
but here is the current list

* ruby2ruby
* ruby_parser
* nokogiri
* polyglot

## INSTALL:

* sudo gem install enterprise
Changes:

### 1.0.0 / 2009-06-17

* 1 major enhancement

* Entering in to the enterprise
* Bringing ruby in the back door

--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

Priceless. :slight_smile:

James Edward Gray II

···

On Jun 17, 2009, at 8:15 PM, Aaron Patterson wrote:

enterprise version 1.0.0 has been released!

Wish you could write your Ruby in XML? Has the fact that Ruby is not
"enterprise" got you down? Do you feel like your Ruby code could be made to
be more "scalable"? Well look no further my friend. You've found the
enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
faster, your code more attractive, *and* have more XML in your life.

<?xml version="1.0"?>
<s>
   <block type="Symbol" value="block"/>
   <s>
     <class type="Symbol" value="class"/>
     <Foo type="Symbol" value="Foo"/>
     <special type="NilClass" value=""/>
     <s>
       <scope type="Symbol" value="scope"/>
       <s>
         <defn type="Symbol" value="defn"/>
         <special type="Symbol" value="hello_world"/>
         <s>
           <args type="Symbol" value="args"/>
         </s>
         <s>
           <scope type="Symbol" value="scope"/>
           <s>
             <block type="Symbol" value="block"/>
             <s>
               <str type="Symbol" value="str"/>
               <bar type="String" value="bar"/>
             </s>
           </s>
         </s>
       </s>
     </s>
   </s>
   <s>
     <call type="Symbol" value="call"/>
     <special type="NilClass" value=""/>
     <puts type="Symbol" value="puts"/>
     <s>
       <arglist type="Symbol" value="arglist"/>
       <s>
         <call type="Symbol" value="call"/>
         <s>
           <call type="Symbol" value="call"/>
           <s>
             <const type="Symbol" value="const"/>
             <Foo type="Symbol" value="Foo"/>
           </s>
           <new type="Symbol" value="new"/>
           <s>
             <arglist type="Symbol" value="arglist"/>
           </s>
         </s>
         <special type="Symbol" value="hello_world"/>
         <s>
           <arglist type="Symbol" value="arglist"/>
         </s>
       </s>
     </s>
   </s>
</s>

This is just too awesome for words.

···

On Wed, Jun 17, 2009 at 6:15 PM, Aaron Patterson<aaron@tenderlovemaking.com> wrote:

<?xml version="1.0"?>
<s>
<block type="Symbol" value="block"/>
<s>
<class type="Symbol" value="class"/>
<Foo type="Symbol" value="Foo"/>
<special type="NilClass" value=""/>
<s>
<scope type="Symbol" value="scope"/>
<s>
<defn type="Symbol" value="defn"/>
<special type="Symbol" value="hello_world"/>
<s>
<args type="Symbol" value="args"/>
</s>
<s>
<scope type="Symbol" value="scope"/>
<s>
<block type="Symbol" value="block"/>
<s>
<str type="Symbol" value="str"/>
<bar type="String" value="bar"/>
</s>
</s>
</s>
</s>
</s>
</s>
<s>
<call type="Symbol" value="call"/>
<special type="NilClass" value=""/>
<puts type="Symbol" value="puts"/>
<s>
<arglist type="Symbol" value="arglist"/>
<s>
<call type="Symbol" value="call"/>
<s>
<call type="Symbol" value="call"/>
<s>
<const type="Symbol" value="const"/>
<Foo type="Symbol" value="Foo"/>
</s>
<new type="Symbol" value="new"/>
<s>
<arglist type="Symbol" value="arglist"/>
</s>
</s>
<special type="Symbol" value="hello_world"/>
<s>
<arglist type="Symbol" value="arglist"/>
</s>
</s>
</s>
</s>
</s>

Now, simply save that XML file out to "test.xml". With the enterprise gem,
to execute this xml file, we just do:

$ enterprise_ruby test.xml

--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin

Aaron Patterson wrote:

enterprise version 1.0.0 has been released!

* <http://github.com/tenderlove/enterprise/&gt;

Wish you could write your Ruby in XML? Has the fact that Ruby is not
"enterprise" got you down? Do you feel like your Ruby code could be made to
be more "scalable"? Well look no further my friend. You've found the
enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
faster, your code more attractive, *and* have more XML in your life.

I'm sure you're asking yourself, "how can the enterprise gem promise so
much?". Well the answer is easy, through the magic of XML! The enterprise
gem allows you to write your Ruby code in XML, therefore making your Ruby and
Rails code scale. Benefits of writing your code in XML include:

* It's easy to read!
* It scales!
* Cross platform
* TRANSFORM! your code using XSLT!
* Search your AST with XPath *or* CSS!

The enterprise gem even comes with a handy "enterprise" binary to help you
start converting your existing *legacy* Ruby code in to scaleable, easy to
read XML files. Let's start getting rid of that nasty Ruby code and replacing
it with XML today!

## FEATURES/PROBLEMS:

* require files completely written in XML
* convert existing legacy ruby code to XML

## SYNOPSIS:

Let's say you have some legacy Ruby code that looks like this:

  class Foo
    def hello_world
      "bar"
    end
  end
  
  puts Foo.new.hello_world

Let's convert that crappy ruby code to XML:

  <?xml version="1.0"?>
  <s>
    <block type="Symbol" value="block"/>
    <s>
      <class type="Symbol" value="class"/>
      <Foo type="Symbol" value="Foo"/>
      <special type="NilClass" value=""/>
      <s>
        <scope type="Symbol" value="scope"/>
        <s>
          <defn type="Symbol" value="defn"/>
          <special type="Symbol" value="hello_world"/>
          <s>
            <args type="Symbol" value="args"/>
          </s>
          <s>
            <scope type="Symbol" value="scope"/>
            <s>
              <block type="Symbol" value="block"/>
              <s>
                <str type="Symbol" value="str"/>
                <bar type="String" value="bar"/>
              </s>
            </s>
          </s>
        </s>
      </s>
    </s>
    <s>
      <call type="Symbol" value="call"/>
      <special type="NilClass" value=""/>
      <puts type="Symbol" value="puts"/>
      <s>
        <arglist type="Symbol" value="arglist"/>
        <s>
          <call type="Symbol" value="call"/>
          <s>
            <call type="Symbol" value="call"/>
            <s>
              <const type="Symbol" value="const"/>
              <Foo type="Symbol" value="Foo"/>
            </s>
            <new type="Symbol" value="new"/>
            <s>
              <arglist type="Symbol" value="arglist"/>
            </s>
          </s>
          <special type="Symbol" value="hello_world"/>
          <s>
            <arglist type="Symbol" value="arglist"/>
          </s>
        </s>
      </s>
    </s>
  </s>

Now, simply save that XML file out to "test.xml". With the enterprise gem,
to execute this xml file, we just do:

  $ enterprise_ruby test.xml

enterprise lets you do a require on pure xml files too. We can load the
test.xml file like so:

  require 'rubygems'
  require 'enterprise'
  require 'test'

The final feature is an enterprise migration assistant. To migrate an entire
project to be enterprise, just do this:

  $ enterprise some_directory

To make a single file enterprise, just give it the filename:

  $ enterprise some_file.rb

I'm sure you're asking yourself, "how much does this enterprise solution cost
me?". Well, like any good enterprise system, it is insanely expensive. This
gem will cost you eleventy billion dollars payable to me, now.

## REQUIREMENTS:

Like all good enterprise solutions, we do our best to get you stuck in a web
of dependencies. We are working hard to increase the number of dependencies,
but here is the current list

* ruby2ruby
* ruby_parser
* nokogiri
* polyglot

## INSTALL:

* sudo gem install enterprise
Changes:

### 1.0.0 / 2009-06-17

* 1 major enhancement

  * Entering in to the enterprise
  * Bringing ruby in the back door

Can't wait to show that to the decision makers.

Thanks!

t.

Cool. Now I can use XSLT to transform my code into XHTML and finally
get some really nice code highlighting. Can I make it a feature
request?

:wink: T.

···

On Jun 17, 9:15 pm, Aaron Patterson <aa...@tenderlovemaking.com> wrote:

enterprise version 1.0.0 has been released!

* <http://github.com/tenderlove/enterprise/&gt;

Wish you could write your Ruby in XML? Has the fact that Ruby is not
"enterprise" got you down? Do you feel like your Ruby code could be made to
be more "scalable"? Well look no further my friend. You've found the
enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
faster, your code more attractive, *and* have more XML in your life.

I'm sure you're asking yourself, "how can the enterprise gem promise so
much?". Well the answer is easy, through the magic of XML! The enterprise
gem allows you to write your Ruby code in XML, therefore making your Ruby and
Rails code scale. Benefits of writing your code in XML include:

* It's easy to read!
* It scales!
* Cross platform
* TRANSFORM! your code using XSLT!
* Search your AST with XPath *or* CSS!

The enterprise gem even comes with a handy "enterprise" binary to help you
start converting your existing *legacy* Ruby code in to scaleable, easy to
read XML files. Let's start getting rid of that nasty Ruby code and replacing
it with XML today!

Aaron Patterson wrote:

enterprise version 1.0.0 has been released!

You are hereby nominated for the 2009 ruby chindogu prize. If only it existed :slight_smile:

(http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/40998\)

···

--
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

I seem to recall seeing an "acts_as_enterprisey" plugin for Rails
which just inserted some sleeps in certain critical paths to simulate
the performance of enterprise code.

···

--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

Sorry, we don't do per-seat pricing. We only do lump sum of eleventy
billion dollars, *or* $1500 per XML node (don't forget! attributes are
nodes too!). Some companies like to go with the lump sum because they get
unlimited nodes, but the per-node price might be better for smaller
companies.

I can offer a discount on whitespace nodes, but I'd have to ask my
manager.

···

On Thu, Jun 18, 2009 at 10:50:28AM +0900, Rick DeNatale wrote:

On Wed, Jun 17, 2009 at 9:15 PM, Aaron > Patterson<aaron@tenderlovemaking.com> wrote:
> enterprise version 1.0.0 has been released!
>
> * <http://github.com/tenderlove/enterprise/&gt;
>
> Wish you could write your Ruby in XML? Has the fact that Ruby is not
> "enterprise" got you down? Do you feel like your Ruby code could be made to
> be more "scalable"? Well look no further my friend. You've found the
> enterprise gem. Once you install this gem, you too can make Rails scale, Ruby
> faster, your code more attractive, *and* have more XML in your life.
>
> I'm sure you're asking yourself, "how can the enterprise gem promise so
> much?". Well the answer is easy, through the magic of XML! The enterprise
> gem allows you to write your Ruby code in XML, therefore making your Ruby and
> Rails code scale. Benefits of writing your code in XML include:
>
> * It's easy to read!
> * It scales!
> * Cross platform
> * TRANSFORM! your code using XSLT!
> * Search your AST with XPath *or* CSS!
>
> The enterprise gem even comes with a handy "enterprise" binary to help you
> start converting your existing *legacy* Ruby code in to scaleable, easy to
> read XML files. Let's start getting rid of that nasty Ruby code and replacing
> it with XML today!
>
> ## FEATURES/PROBLEMS:
>
> * require files completely written in XML
> * convert existing legacy ruby code to XML
>
> ## SYNOPSIS:
>
> Let's say you have some legacy Ruby code that looks like this:
>
> class Foo
> def hello_world
> "bar"
> end
> end
>
> puts Foo.new.hello_world
>
> Let's convert that crappy ruby code to XML:
>
> <?xml version="1.0"?>
> <s>
> <block type="Symbol" value="block"/>
> <s>
> <class type="Symbol" value="class"/>
> <Foo type="Symbol" value="Foo"/>
> <special type="NilClass" value=""/>
> <s>
> <scope type="Symbol" value="scope"/>
> <s>
> <defn type="Symbol" value="defn"/>
> <special type="Symbol" value="hello_world"/>
> <s>
> <args type="Symbol" value="args"/>
> </s>
> <s>
> <scope type="Symbol" value="scope"/>
> <s>
> <block type="Symbol" value="block"/>
> <s>
> <str type="Symbol" value="str"/>
> <bar type="String" value="bar"/>
> </s>
> </s>
> </s>
> </s>
> </s>
> </s>
> <s>
> <call type="Symbol" value="call"/>
> <special type="NilClass" value=""/>
> <puts type="Symbol" value="puts"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> <s>
> <call type="Symbol" value="call"/>
> <s>
> <call type="Symbol" value="call"/>
> <s>
> <const type="Symbol" value="const"/>
> <Foo type="Symbol" value="Foo"/>
> </s>
> <new type="Symbol" value="new"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> </s>
> </s>
> <special type="Symbol" value="hello_world"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> </s>
> </s>
> </s>
> </s>
> </s>
>
> Now, simply save that XML file out to "test.xml". With the enterprise gem,
> to execute this xml file, we just do:
>
> $ enterprise_ruby test.xml
>
> enterprise lets you do a require on pure xml files too. We can load the
> test.xml file like so:
>
> require 'rubygems'
> require 'enterprise'
> require 'test'
>
> The final feature is an enterprise migration assistant. To migrate an entire
> project to be enterprise, just do this:
>
> $ enterprise some_directory
>
> To make a single file enterprise, just give it the filename:
>
> $ enterprise some_file.rb
>
> I'm sure you're asking yourself, "how much does this enterprise solution cost
> me?". Well, like any good enterprise system, it is insanely expensive. This
> gem will cost you eleventy billion dollars payable to me, now.
>
> ## REQUIREMENTS:
>
> Like all good enterprise solutions, we do our best to get you stuck in a web
> of dependencies. We are working hard to increase the number of dependencies,
> but here is the current list
>
> * ruby2ruby
> * ruby_parser
> * nokogiri
> * polyglot
>
> ## INSTALL:
>
> * sudo gem install enterprise
> Changes:
>
> ### 1.0.0 / 2009-06-17
>
> * 1 major enhancement
>
> * Entering in to the enterprise
> * Bringing ruby in the back door

Sorry, but it ain't enterprise unless it costs at least $1500 per
developer seat!

--
Aaron Patterson
http://tenderlovemaking.com/

ありがとうございます!

Maybe they'll make one for RubyConf this year. :wink:

···

On Fri, Jun 19, 2009 at 02:48:24AM +0900, Joel VanderWerf wrote:

Aaron Patterson wrote:

enterprise version 1.0.0 has been released!

You are hereby nominated for the 2009 ruby chindogu prize. If only it
existed :slight_smile:

(http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/40998\)

--
Aaron Patterson
http://tenderlovemaking.com/

Indeed, my hat goes off to you. Consider this a small tribute...
http://github.com/jcoglan/heist/commit/3b8ef60d45d604c3c30d1dcb9a8c3c0580f524bc\.
Seriously, isn't this way more beautiful than all those parentheses those
pesky "Lispers" keep banging on about? enterprise-scheme.xml · GitHub

···

2009/6/18 Aaron Turner <synfinatic@gmail.com>

On Wed, Jun 17, 2009 at 6:15 PM, Aaron > Patterson<aaron@tenderlovemaking.com> wrote:
>
> <?xml version="1.0"?>
> <s>
> <block type="Symbol" value="block"/>
> <s>
> <class type="Symbol" value="class"/>
> <Foo type="Symbol" value="Foo"/>
> <special type="NilClass" value=""/>
> <s>
> <scope type="Symbol" value="scope"/>
> <s>
> <defn type="Symbol" value="defn"/>
> <special type="Symbol" value="hello_world"/>
> <s>
> <args type="Symbol" value="args"/>
> </s>
> <s>
> <scope type="Symbol" value="scope"/>
> <s>
> <block type="Symbol" value="block"/>
> <s>
> <str type="Symbol" value="str"/>
> <bar type="String" value="bar"/>
> </s>
> </s>
> </s>
> </s>
> </s>
> </s>
> <s>
> <call type="Symbol" value="call"/>
> <special type="NilClass" value=""/>
> <puts type="Symbol" value="puts"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> <s>
> <call type="Symbol" value="call"/>
> <s>
> <call type="Symbol" value="call"/>
> <s>
> <const type="Symbol" value="const"/>
> <Foo type="Symbol" value="Foo"/>
> </s>
> <new type="Symbol" value="new"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> </s>
> </s>
> <special type="Symbol" value="hello_world"/>
> <s>
> <arglist type="Symbol" value="arglist"/>
> </s>
> </s>
> </s>
> </s>
> </s>
>
> Now, simply save that XML file out to "test.xml". With the enterprise
gem,
> to execute this xml file, we just do:
>
> $ enterprise_ruby test.xml

This is just too awesome for words.

--
James Coglan
http://jcoglan.com

<snip>
m/jcoglan/heist/commit/3b8ef60d45d604c3c30d1dcb9a8c3c0580f524bc.

Seriously, isn't this way more beautiful than all those parentheses those
pesky "Lispers" keep banging on about? enterprise-scheme.xml · GitHub

Why not having both worlds

(define_method :name 'hello_world :as (xml
  "<progn <!-- I am sure XML will do us the favor and extend the
language for this :slight_smile: -->
       <object name=\"::Method\" id=\"42\" />
       <invoke message=\"new\" target=<object ref=\"42\" /> />
    />
  ") :body '(say "Hello World"))

(xml "<progn> <!-- But one can still use the old form -->
    <import-from-caller method=\"by-name\" name=\"hello_world\" />
     <escape-in-sandbox authorization="0d0def585e02348de-badcaffebad">
        <[<CDATA
          (hello_world)
        ]]>
      </escape-in-sandbox>
     </progn>")

Which would raise an Illegal Authorization error first and after that
being fixed we will get a Security error
"cannot say anything in a sandbox"

But do not fear I consider it extremely unlikely that Erlang, Ruby &
Clojure will rule the world :wink:

(cheers :Robert)

···

On Fri, Jun 19, 2009 at 1:28 AM, James Coglan<jcoglan@googlemail.com> wrote:

2009/6/18 Aaron Turner <synfinatic@gmail.com>

--
Toutes les grandes personnes ont d’abord été des enfants, mais peu
d’entre elles s’en souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupéry]