An experimental type-level Ruby interpreter for testing and understanding Ruby code.
Install via RubyGems.
$ gem install typeprof
TypeProf supports Ruby 3.3 or later.
-
Install VSCode Ruby TypeProf extension:
code --install-extension mame.ruby-typeprof
-
Run
typeprof --init
in your project root to createtypeprof.config.jsonc
file. Other options are available. See typeprof.conf.jsonc for details. -
Reopen your project in VSCode.
- Git clone this repository:
git clone https://github.com/ruby/typeprof.git
- Install VSCode Ruby TypeProf extension:
code --install-extension mame.ruby-typeprof
- Open the repository in VSCode:
code typeprof
$ bundle install
$ bundle exec rake test
https://speakerdeck.com/mame/good-first-issues-of-typeprof
See LICENSE file.