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

Implementing shell language semantics (POSIX portability) #51

Closed
42 tasks done
Tracked by #41
magicant opened this issue Jun 13, 2021 · 1 comment
Closed
42 tasks done
Tracked by #41

Implementing shell language semantics (POSIX portability) #51

magicant opened this issue Jun 13, 2021 · 1 comment
Labels
tracker List of subtasks

Comments

@magicant
Copy link
Owner

magicant commented Jun 13, 2021

This is a tracking issue for implementation of the portable part of the shell language semantics.
For yash-specific semantics, see #260.

@magicant magicant mentioned this issue Jun 13, 2021
26 tasks
@magicant
Copy link
Owner Author

magicant commented Jun 14, 2021

So, what should we start with? 🤔

  • List
    • A method to test side effects
      • (Simulated) standard output
      • The echo built-in, or a fake of it
    • A method to test exit status
      • Exit status in Env
      • A fake built-in that returns an arbitrary exit status
  • More on simple command
    • Assignment
      • Variables in Env
    • Command search
      • Functions in Env
      • $PATH
        • Variables in Env
      • A (simulated) method to test whether a file is executable
    • Executing external commands
      • Creating subshells in Env
      • Performing exec in Env
  • Basic part of word expansion
    • Type of word expansion functions
    • Variables in Env

@magicant magicant added the tracker List of subtasks label Jun 27, 2021
@magicant magicant mentioned this issue Mar 16, 2022
45 tasks
@magicant magicant changed the title Implementing language semantics Implementing shell language semantics (POSIX portability) May 14, 2023
@magicant magicant added this to the POSIX 2018 w/o interaction milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracker List of subtasks
Projects
None yet
Development

No branches or pull requests

1 participant