shithub: spread

ref: eaadfa055fc6b9e7074449a8ad6b0a4ff25cb346
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