Input | Output |
---|---|
nothing here | nothing here |
#should #not #change | #should #not #change |
expect an error #foobar; | Error: unknown expression command f starting at foobar |
no #123; change outside of expression | no 123 change outside of expression |
multiple #123; interspersed #456; interpolations | multiple 123 interspersed 456 interpolations |
#`-`:+:+:+:+::++; | ------------------------------------------------ |
top item is 789: #123'456'789; | top item is 789: 789 |
result string is foobar: #`foobar`; | result string is foobar: foobar |
top string is barbaz: #`foobar``barbaz`; | top string is barbaz: barbaz |
noooooop test: #123''''''''; | noooooop test: 123 |
random: #123?; | random: 104 |
ternary true test: #`❌``✅`1@; | ternary true test: ✅ |
ternary false test: #`✅``❌`0@; | ternary false test: ✅ |
swap: #123'456\ 123=`❌`\`✅`\@; | swap: ✅ |
modulo: #123'2% 1=`❌`\`✅`\@; | modulo: ✅ |
add: #123'2+ 125=`❌`\`✅`\@; | add: ✅ |
add strings: #`foo``bar`+ `foobar`=`❌`\`✅`\@; | add strings: ✅ |
subtract: #123'2- 121=`❌`\`✅`\@; | subtract: ✅ |
drop: #123'123'2$+ 246=`❌`\`✅`\@; | drop: ✅ |