Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the utils/tty RBI generator to a Tapioca compiler #16899

Merged
merged 5 commits into from Mar 30, 2024

Commits on Mar 29, 2024

  1. Convert the utils/tty RBI generator to a Tapioca compiler

    - The preferred way of doing RBI generation is via Tapioca. So I am
      trying to stop being intimidated by it, by learning how it works.
    - This is very WIP still, currently failing with the following message
      because the `module` name is missing in the generated RBI file.
    
    ```
    There are parse errors in the generated RBI files.
    
    Errors:
      sorbet/rbi/dsl/tty.rbi:8: unexpected token tNL (2001)
      sorbet/rbi/dsl/tty.rbi:64: unexpected token "end" (2001)
    ```
    issyl0 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    05b7166 View commit details
    Browse the repository at this point in the history
  2. Use create_module instead

    dduugg authored and issyl0 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    769547e View commit details
    Browse the repository at this point in the history
  3. Appease RuboCop

    issyl0 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    bbf5825 View commit details
    Browse the repository at this point in the history
  4. Tty methods are class methods

    issyl0 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    e4a1f33 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Configuration menu
    Copy the full SHA
    db39e93 View commit details
    Browse the repository at this point in the history