Refactor stdlib.py to use declarative method definitions
- Import method definitions from methods.py for consistency
- Define bash implementations in STRING_IMPLS, ARRAY_IMPLS, DICT_IMPLS
- Generate stdlib functions from these definitions
- Use context manager (with self.indented()) for cleaner code
- Reduce code duplication and improve maintainability
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment