From: benjohn@... Date: 2007-07-11T17:58:29+09:00 Subject: Re: Creating a language -- HTML + a few special tags Dan Wrote: > Rob Hunter wrote: >> Hi all, >> >> I'm looking to implement a "plug-in" language which is essentially >> just >> HTML plus a few custom tags that I want to support. For example, some >> source code in this language might look like *snip* > That sounds an awful lot like XML with XSL stylesheets... I don't know > much about these, but I would start here > http://www.w3schools.com/xsl/xsl_languages.asp > if I wanted to learn. Template engines also sound like a good fit. There are many for Ruby (and I know I've seen pages that describe their various benefits). You could start with looking at erb though, which is in the Ruby standard library: http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/ Also, see this email: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/238970 Cheers, B