An experimental type-level Ruby interpreter for testing and understanding Ruby code.
Install via RubyGems.
$ gem install typeprofTypeProf supports Ruby 3.3 or later.
-
Install VSCode Ruby TypeProf extension:
code --install-extension mame.ruby-typeprof -
Run
typeprof --initin your project root to createtypeprof.conf.jsoncfile. 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 testhttps://speakerdeck.com/mame/good-first-issues-of-typeprof
See LICENSE file.