[ruby-cvs:68912] shyouhei:r61733 (trunk): delete tool/instruction.rb

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Tue Jan 9 22:30:33 JST 2018


shyouhei	2018-01-09 22:30:31 +0900 (Tue, 09 Jan 2018)

  New Revision: 61733

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61733

  Log:
    delete tool/instruction.rb
    
    Previous commit changed insns.def format. Now is the time for its
    generators. In doing so I chose to modernize the system, not just
    patch.  My attempt includes
    
    - extensive use of Onigumo regular expressions
    - split from one big file (instruction.rb) into separated MVC
    - partial view
    
    Also, let me take this opportunity to kill old unused features
    such as
    
    - stack caching
    - minsns / yasmdata which are never seriously used
    - yarvarch document generation (moved to doc/)
    - vast majority of unused arguments to insns2vm.rb
    
    This commit generates VM source codes that cleanly compile, and
    the generated binary passes tests.  At least for me.

  Added directories:
    trunk/tool/ruby_vm/controllers/
    trunk/tool/ruby_vm/helpers/
    trunk/tool/ruby_vm/loaders/
    trunk/tool/ruby_vm/models/
    trunk/tool/ruby_vm/views/
  Added files:
    trunk/doc/yarvarch.en
    trunk/doc/yarvarch.ja
    trunk/tool/ruby_vm/controllers/application_controller.rb
    trunk/tool/ruby_vm/helpers/c_escape.rb
    trunk/tool/ruby_vm/helpers/dumper.rb
    trunk/tool/ruby_vm/helpers/scanner.rb
    trunk/tool/ruby_vm/loaders/insns_def.rb
    trunk/tool/ruby_vm/loaders/opt_insn_unif_def.rb
    trunk/tool/ruby_vm/loaders/opt_operand_def.rb
    trunk/tool/ruby_vm/loaders/vm_opts_h.rb
    trunk/tool/ruby_vm/models/attribute.rb
    trunk/tool/ruby_vm/models/bare_instructions.rb
    trunk/tool/ruby_vm/models/c_expr.rb
    trunk/tool/ruby_vm/models/instructions.rb
    trunk/tool/ruby_vm/models/instructions_unifications.rb
    trunk/tool/ruby_vm/models/operands_unifications.rb
    trunk/tool/ruby_vm/models/trace_instructions.rb
    trunk/tool/ruby_vm/models/typemap.rb
    trunk/tool/ruby_vm/scripts/insns2vm.rb
    trunk/tool/ruby_vm/views/_attributes.erb
    trunk/tool/ruby_vm/views/_c_expr.erb
    trunk/tool/ruby_vm/views/_copyright.erb
    trunk/tool/ruby_vm/views/_insn_entry.erb
    trunk/tool/ruby_vm/views/_insn_len_info.erb
    trunk/tool/ruby_vm/views/_insn_name_info.erb
    trunk/tool/ruby_vm/views/_insn_operand_info.erb
    trunk/tool/ruby_vm/views/_insn_stack_increase.erb
    trunk/tool/ruby_vm/views/_insn_type_chars.erb
    trunk/tool/ruby_vm/views/_notice.erb
    trunk/tool/ruby_vm/views/_trace_instruction.erb
    trunk/tool/ruby_vm/views/insns.inc.erb
    trunk/tool/ruby_vm/views/insns_info.inc.erb
    trunk/tool/ruby_vm/views/opt_sc.inc.erb
    trunk/tool/ruby_vm/views/optinsn.inc.erb
    trunk/tool/ruby_vm/views/optunifs.inc.erb
    trunk/tool/ruby_vm/views/vm.inc.erb
    trunk/tool/ruby_vm/views/vmtc.inc.erb
  Removed files:
    trunk/template/insns.inc.tmpl
    trunk/template/insns_info.inc.tmpl
    trunk/template/minsns.inc.tmpl
    trunk/template/opt_sc.inc.tmpl
    trunk/template/optinsn.inc.tmpl
    trunk/template/optunifs.inc.tmpl
    trunk/template/vm.inc.tmpl
    trunk/template/vmtc.inc.tmpl
    trunk/template/yarvarch.en
    trunk/template/yarvarch.ja
    trunk/template/yasmdata.rb.tmpl
    trunk/tool/instruction.rb
  Modified files:
    trunk/Makefile.in
    trunk/common.mk
    trunk/compile.c
    trunk/tool/insns2vm.rb
    trunk/vm_exec.h
    trunk/win32/Makefile.sub


More information about the ruby-cvs mailing list