From 3688c7a1eeda83b3da39cf03bbd0b8ae09df94b9 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 13 Nov 2007 22:09:43 +0000 Subject: * tool/makedocs.rb, template/insnstbl.html: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ template/insnstbl.html | 39 ------------------------------- tool/makedocs.rb | 62 -------------------------------------------------- 3 files changed, 4 insertions(+), 101 deletions(-) delete mode 100644 template/insnstbl.html delete mode 100644 tool/makedocs.rb diff --git a/ChangeLog b/ChangeLog index 519752c68b..4d20540346 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 14 07:07:51 2007 Koichi Sasada + + * tool/makedocs.rb, template/insnstbl.html: removed. + Wed Nov 14 02:50:43 2007 Nobuyoshi Nakada * common.mk (parse.c): dependency also needs vpath. diff --git a/template/insnstbl.html b/template/insnstbl.html deleted file mode 100644 index 1a3613d897..0000000000 --- a/template/insnstbl.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - YARV: Yet another RubyVM / Instruction Table - - - - - -

YARV: Instruction Table

- - - - - - - - - <%= tbl %> -
typeIndexInstructionOperandsStacks
- -
- SASADA Koichi / ko1 at atdot.net -
- - - - - - diff --git a/tool/makedocs.rb b/tool/makedocs.rb deleted file mode 100644 index 56cb21565f..0000000000 --- a/tool/makedocs.rb +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby -# -# - -require 'rb/insns2vm.rb' -insns = insns_def_new - -{ # docs - '/doc/yarvarch.ja' => :desc_ja, - '/doc/yarvarch.en' => :desc_en, -}.each{|fn, s| - fn = $srcdir + fn - p fn - open(fn, 'w'){|f| - f.puts(insns.__send__(s)) - } -} - -def chg ary - if ary.empty? - return ' ' - end - - ary.map{|e| - if e[0] == '...' - '...' - else - e.join(' ') - end - e[1] - }.join(', ') -end - -open($srcdir + '/doc/insnstbl.html', 'w'){|f| - tbl = '' - type = nil - insns.each_with_index{|insn, i| - c = insn.comm[:c] - if type != c - stype = c - type = c - end - - tbl << "\n" - tbl << "#{stype}" - tbl << "#{i}" - tbl << "#{insn.name}" - tbl << "#{chg insn.opes}" - tbl << "#{chg insn.pops.reverse}" - tbl << " => " - tbl << "#{chg insn.rets.reverse}" - tbl << "\n" - } - f.puts ERB.new(File.read($srcdir + '/template/insnstbl.html')).result(binding) -} - -begin - system('t2n.bat --tmpl doc.tmpl ../doc/yarvarch.ja > ../doc/yarvarch.ja.html') - system('t2n.bat --tmpl doc.tmpl ../doc/yarvarch.en > ../doc/yarvarch.en.html') -rescue -end - -- cgit v1.2.3