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

Request for naming suggestions #862

Open
lmorg opened this issue Aug 20, 2024 · 1 comment
Open

Request for naming suggestions #862

lmorg opened this issue Aug 20, 2024 · 1 comment
Labels
design question This is where the murex devs can raise a feature idea or discuss a problem with the community

Comments

@lmorg
Copy link
Owner

lmorg commented Aug 20, 2024

The builtins are pretty undiscoverable at the moment and that's an issue because of the number of builtins that are included with Murex.

The original naming convention borrowed inspiration from old UNIX idioms but I don't think that works as well now this shell has matured

I experimented a while back with aliases for common array-based operations with a list prefix:

murex-dev» runtime --aliases -> [{ $.k=~"^list" && printf "%15s: %s" $.k $.v.alias.0 }]
   list.reverse: mtac
      list.sort: msort
     list.split: jsplit
    list.append: append
     list.regex: regexp
    list.string: match
    list.suffix: suffix
      list.left: left
     list.right: right
    list.prefix: prefix
   list.prepend: prepend

So I'm thinking of expanding this out.

The wider brief on this will be included in the discussion link below

@lmorg lmorg added the design question This is where the murex devs can raise a feature idea or discuss a problem with the community label Aug 20, 2024
@lmorg lmorg pinned this issue Aug 20, 2024
Repository owner locked and limited conversation to collaborators Aug 20, 2024
@lmorg
Copy link
Owner Author

lmorg commented Aug 20, 2024

Discussion for this change will happen at #860

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
design question This is where the murex devs can raise a feature idea or discuss a problem with the community
Projects
None yet
Development

No branches or pull requests

1 participant