summaryrefslogtreecommitdiff
path: root/test.ra
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2026-03-29 23:45:16 +0200
committerJulian Hurst <ark@mansus.space>2026-03-29 23:45:16 +0200
commit4088afafe7599772703c8df25ad8ed55f7197fd7 (patch)
tree5d3bcc892c1a00f32c77ac4d0290fe1fced394cc /test.ra
parent678a38d41ba21c260ee74e1dbc516c6f5fe7222d (diff)
downloadrabbitscript-mistress.tar.gz
Support string literal variables (with string interpolation)mistress
Diffstat (limited to 'test.ra')
-rw-r--r--test.ra2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.ra b/test.ra
index 01eaee0..bfe529a 100644
--- a/test.ra
+++ b/test.ra
@@ -1,8 +1,10 @@
a=2 1 + 6 *
b=3 5 *
+c="string literal ${a}"
ls()
print("hello world!")
print("(2 + 1) * 6 = ${a}")
print("3 * 5 = ${b}")
+print("strlit in var c is: ${c}")
mpv("--shuffle", "/home/juju/vids/Simpsons")