Consolidate/Rename "LS" Bifs and Move US-Centric ones to Compat

Description

As pointed out in this thread, the US-centric first class formatting and parsing BIFs are outdated and don’t serve BoxLang well as a modern language. In addition the LS prefixed BIFs that don’t have a corresponding “first class” named-BIF should be renamed without the LS

Most of the “first class” BIFs are already locale aware, if the locale argument exists.
Implement the following changes:

  • Make the LS prefixed BIFs the “first class” BIF, where applicable. In most cases this just adds a locale argument addition.

  • Move any US-Centric implementations to the compat module ( e.g. DollarFormat)

  • Rename any LS-Prefixed BIFs without the LS and move any necessary BIFs with positional argument differences to the compat module

Activity

Show:

Jon Clausen September 12, 2024 at 4:49 PM
Edited

The core no longer contains any `LS` prefixed BIFs. Instead all LS parent BIFs now accept a locale argument in the last position.

Examples:

The LS-prefixed variations have been moved to the compat module.

Jon Clausen September 5, 2024 at 12:40 PM

this one can’t be closed yet.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created June 8, 2024 at 1:20 PM
Updated September 13, 2024 at 1:08 AM
Resolved September 12, 2024 at 4:49 PM