Ph0enixKM / Amber

💎 Amber the programming language compiled to bash
https://amber-lang.com
GNU General Public License v3.0
3.51k stars 67 forks source link

🐞 Special characters get interpolated inside of Text literal #212

Open Ph0enixKM opened 1 week ago

Ph0enixKM commented 1 week ago

The reproduction code for special symbols: $, `, !

unsafe $SUCCESS="FAILURE"$
echo "This is a $SUCCESS."
// This should print out "This is a $SUCCESS." and not "This is a FAILURE."
echo "Today is `date`"
// Expands to "Today is [current date]"
echo "Gooj job!"
// Expands to history expansion