LightAndLight / ipso

A functional scripting language.
https://ipso.dev
17 stars 1 forks source link

Quote-aware string interpolation in command literals #138

Closed LightAndLight closed 1 year ago

LightAndLight commented 2 years ago

Branch: https://github.com/LightAndLight/ipso/tree/issue/138


Depends on #134.

Examples

1.

:heavy_check_mark:

let word = "hello world" in `echo $word`

to

`echo "hello world"`

2.

let planet = "earth" in `cat "hello $planet"`

to

`cat "hello earth"`

3.

let name = "inigo montoya" in `cat "my name is $name"`

to

`cat "my name is inigo montoya"`

Tasks