Skip to content

Compatible, quoted syntax for YSH expressions #691

Description

@andychu

On #690, I would like something straightforward like:

a=(one two three)
if test -n "$BASH_VERSION"; else
  t=$(compgen hack)  # etc.
else
  var t = typeof(a)
fi

However Oil expressions won't parse in most shells. We would

So maybe we need something like:

a=(one two three)
if test -n "$BASH_VERSION"; else
  t=$(compgen hack)  # etc.
else
  t=${'typeof(a)'}  # avoid process substitution
fi

No activity

Activity on this issue will appear here.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions