ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: eregontp@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:100620] [Ruby master Feature#17266] Bundle TypeProf
Date: Wed, 28 Oct 2020 12:19:44 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-88253.20201028121943.18@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17266.20201019145529.18@ruby-lang.org

Issue #17266 has been updated by Eregon (Benoit Daloze).


mame (Yusuke Endoh) wrote in #note-5:
> Okay, I'll add it.

Thanks.

> Sorry. In (far) future, I'd like to improve TypeProf to use AST instead of bytecodes if this project is considered successful. But it requires huge development resource, and there are still many TODOs for typeprof develpoment, so I cannot afford it in near future. (Some people including matz involved in the design of typeprof, but I have developed it alone.)

I think it's not a big issue if TypeProf is meant only as a CLI/standalone tool, and not a gem to `require` at runtime.
Then people can generate .rbs files on CRuby, but still do everything else on any other Ruby implementation.

(the AST has more information than bytecode, so I guess it could be useful for TypeProf, but it might be more work to process it)

----------------------------------------
Feature #17266: Bundle TypeProf
https://bugs.ruby-lang.org/issues/17266#change-88253

* Author: mame (Yusuke Endoh)
* Status: Closed
* Priority: Normal
* Assignee: mame (Yusuke Endoh)
----------------------------------------
I'm working on bundling [TypeProf](https://github.com/ruby/typeprof), a type analyzer for non-annotated Ruby code, with Ruby 3.0.  The following PR bundles TypeProf as a bundled gem.

https://github.com/ruby/ruby/pull/3668

Matz was very positive to bundle it with Ruby 3.0, but just for case, I'd like to get approval from matz in a public ticket. I hope we can bundle it in 3.0 preview 2.

For TypeProf, please see my talk at RubyKaigi Takeout 2020:

* https://rubykaigi.org/2020-takeout/presentations/mametter.html
* https://www.youtube.com/watch?v=6KcFdQWp8W0



-- 
https://bugs.ruby-lang.org/

      parent reply	other threads:[~2020-10-28 12:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-19 14:55 [ruby-core:100428] [Ruby master Feature#17266] Bundle TypeProf mame
2020-10-19 22:04 ` [ruby-core:100432] " matz
2020-10-27 11:25 ` [ruby-core:100598] " hsbt
2020-10-27 14:10 ` [ruby-core:100605] " mame
2020-10-27 18:08 ` [ruby-core:100609] " eregontp
2020-10-28  0:40 ` [ruby-core:100614] " mame
2020-10-28 12:19 ` eregontp [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-88253.20201028121943.18@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).