Prejil is string interpreter what is written in Rust, and it will support as library Rust and C. Also there is an official CLI tool.
seek
isskip
then gather the between chars, and stop.skip
is just look a target and stop.
-
-
- ✅️
fn seek_char(char) -> String
::: seek a char ahead - ✅️
fn seek_char_back(char) -> String
::: seek a char backward - ❌️
fn seek_string(&str) -> String
::: seek multiple chars ahead - ❌️
fn seek_string_back(&str) -> String
::: seek multiple chars backward
- ✅️
-
- ✅️
fn skip_cursor(i32) -> bool
::: move the cursor specified times.
- ✅️
-
- ✅️
fn get_current_byte() -> u8
::: show current byte at cursor
- ✅️
-
-
- Add rules to the kind of seek_* and skip_* function which supports it, and the rules make the streaming more powerful.
- Create rule-supported functions like the above.
- Pure-based replace/delete/insert
- Rule-based replace/delete/insert
- Multi cursor + Multi threading
- Register a code at rule
- CFormat-like parse
- implement library working on C
-
- It will work on shell(powershell/bash etc...)