-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Why
VNS command payloads are split on whitespace (core/src/main/java/com/jvn/core/vn/DefaultVnInterop.java (line 317), same approach in runtime/src/main/java/com/jvn/runtime/RuntimeVnInterop.java), so multi-word values break as of right now.
An example would be [jes push game/minigame.jes with title="Final Battle"] becomes title="Final and Battle", [java com.acme.Log#info "hello world"] becomes two args. This blocks richer data passing between VNS and JES/Java and forces awkward underscoring.
What to do
- Implement a shared tokenizer that respects double quotes and backslash escapes; preserve current behavior for unquoted tokens
- Use it in DefaultVnInterop (java/var/cond handlers) and RuntimeVnInterop (jes/vns/menu parsing, with props) instead of naive split("\s+") I used earlier
- Update docs/VNS Scripting/VNS Scripting.md to remove the “No quoting support” limitation and add examples for JES/Java interop
Criteria
-Tokens in VNS commands should support quoted segments with spaces, backslash escape works for quotes and spaces
-JES interop receives full with values when they contain spaces
-Java interop receives full arguments when quoted
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request