Skip to content

Tags: pheller/emu2

Tags

v0.1.0-script-beta

Toggle v0.1.0-script-beta's commit message
Add slice syntax for strings and lists

- Support [start:end], [:end], [start:], and [:] slice syntax
- Negative indices supported (e.g., s[-5:] for last 5 chars)
- Works on both strings and lists
- Add slice test to test_script.sh