shithub: spread

ref: a8558cb1e89245ecb38501b0fe4b64462ba69889
dir: /test/test.rc/

View raw version
#!/bin/rc

rfork en
ramfs

cat <<EOF >/tmp/test.sp
func t(a) {
	print a
}
%%%
A1=3
A2;hello
A4=A1()+A3()
>A3=5
B1=2
B2=3
B3=4
B4=100+[B1()+B3()]
EOF

../6.out /tmp/test.sp
prompt=('; ' '	')
rc -i