diff --git a/ISBPL.java b/ISBPL.java index 22c56f1..7d869fa 100644 --- a/ISBPL.java +++ b/ISBPL.java @@ -245,6 +245,16 @@ public class ISBPL { stack.push(new ISBPLObject(getType("int"), type.id)); return i.get(); }; + case "string!": + return (idx, words, file, stack) -> { + AtomicInteger i = new AtomicInteger(idx); + String s = ""; + for(String w : readBlock(i, words, file)) + s += w + " "; + s = s.substring(0, s.length() - 1); + stack.push(toISBPLString(s)); + return i.get(); + }; default: return null; }