Skip to content
master
Go to file
Code

Latest commit

```
$ exe/typeprof --version
Traceback (most recent call last):
	1: from exe/typeprof:5:in `<main>'
/Users/masafumi.koba/git/ybiquitous/typeprof/lib/typeprof/cli.rb:78:in `parse': uninitialized constant TypeProf::CLI::VERSION (NameError)
```
b04c295

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
exe
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

TypeProf: A type analysis tool for Ruby code based on abstract interpretation

Synopsis

gem install typeprof
typeprof app.rb

Demo

# test.rb
def foo(x)
  if x > 10
    x.to_s
  else
    nil
  end
end

foo(42)
$ typeprof test.rb
# Classes
class Object
  def foo : (Integer) -> String?
end

Documentation

English / 日本語

About

An experimental type-level Ruby interpreter for testing and understanding Ruby code

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.