FenderLang / Fender

A functional scripting language, intended for string manipulation and general scripting on the command line
MIT License
13 stars 0 forks source link

Parse format strings #52

Closed boxbeam closed 1 year ago

boxbeam commented 1 year ago

Format strings are currently not described in BNF, so the first step needs to be defining it there. Expressions should be embeddable within strings like this:

$greet = (name) {
    "Hello, {name}!".println()
}