Skip to content

Request for naming suggestions #862

Open
@lmorg

Description

@lmorg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    design questionThis is where the murex devs can raise a feature idea or discuss a problem with the community

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions