chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.79k stars 420 forks source link

Should CHPL_REGEXP be called CHPL_RE2? #17306

Closed bradcray closed 3 years ago

bradcray commented 3 years ago

This is somewhat related to issue #17220 and also to #17222: Assuming that our Regex module continues to be a standard (rather than package) module and based on RE2, should we should consider changing the CHPL_REGEXP environment variable to CHPL_RE2 and the values to be bundled vs. none, to be more similar to other third-party packages we rely upon? The current CHPL_REGEXP variable with values re2 and none suggests to me that one could plug in other packages rather than re2, yet I don't know that any of us expect that to be supported or supportable (?).

Options discussed below: :heart: CHPL_RE2 = bundled | none πŸŽ‰ CHPL_REGEX = re2 | none πŸš€ CHPL_REGEX = bundled | none :+1: CHPL_REGEX = re2 | none && CHPL_RE2 = bundled | none

Rationale for the options:

:+1: β€”Β Brad argues that this is the most flexible approach in that: