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

OilCommand lexer mode #630

Closed
andychu opened this issue Mar 7, 2020 · 1 comment
Closed

OilCommand lexer mode #630

andychu opened this issue Mar 7, 2020 · 1 comment

Comments

@andychu
Copy link
Contributor

andychu commented Mar 7, 2020

This is nice stuff that can't be fit in lex_mode_e.ShCommand for compatibility

In Commands:

  • multiline strings like '''
  • C strings like c'\n' instead of $'\n'
  • redirects like &2 > &1 (parse_amp)
  • eliminate here docs, use << 'string' instead
  • $/ d+ / inline eggex
    • /// multiline eggex?

Things to disable:

  • [[
  • ((

Word Language:

  • maybe: $(( )) ? in favor of $[ ]
  • most of ${} except new stuff
  • backticks: could use these for something else (then this becomes a parsing issue, not lexing)
@andychu
Copy link
Contributor Author

andychu commented Nov 22, 2021

It seems like we no longer need this, yay!

@andychu andychu closed this as completed Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant