Skip to content

Commit

Permalink
[WIP] Added code generation for the x86 architecture (issue #41).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 19, 2025
1 parent 96afd28 commit d1eb58f
Show file tree
Hide file tree
Showing 5 changed files with 1,033 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ group :development do
gem 'stackprof', require: false, platform: :mri

gem 'command_kit-completion', '~> 0.2', require: false

# codegen dependencies:
gem 'nokogiri', '~> 1.4', require: false
end
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ file 'vendor/xml/arm64.xml' => %w[vendor/cache/ISA_A64_xml_v88A-2021-12.tar.gz v
sh 'tar', '-C', 'vendor/cache', '--strip-components=1', '-xzf', 'vendor/cache/ISA_A64_xml_v88A-2021-12.tar.gz', 'ISA_A64_xml_v88A-2021-12/onebigfile.xml'
sh 'mv', 'vendor/cache/onebigfile.xml', 'vendor/xml/arm64.xml'
end

namespace :codegen do
task(:x86 => 'vendor/xml/x86.xml') { ruby 'codegen/x86.rb' }
end
Loading

0 comments on commit d1eb58f

Please sign in to comment.