Skip to content

Document process to pull in Prism updates #43

Description

@amomchilov

Originally posted by @st0012 in #42 (comment)

RBS makes use of some files from Prism (namely the defines.h and pm_constant_pool.c/h, and there's a growing desire to bring the two libraries closer together.

I wrote a scrappy sync_from_prism.rb script to pull in Prism's version of these files, and rename the identifiers (PRISM → RBS, pm_ → rbs_, etc.). It completely replaces the local copy of the file with the modified version from Prism. This undoes some local changes, which need to be discarded before committing the desired updates.

This script should be polished up, documented, and merged in under some folder like support/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions