BooDoo / CheapBotsTootSweet

Hosting Tracery-based Mastodon bots for others https://cheapbotstootsweet.com
MIT License
4 stars 0 forks source link

Support "delayed expansion" #16

Open BooDoo opened 6 years ago

BooDoo commented 6 years ago

An example provided by a user, which works in Tracery1 but fails in Tracery2:

{ 
  "origin": "#[tweet:#start#]tweet#", 
  "start": "\\#helloworld\\#", 
  "helloworld": "omg what how"
}

It would be cool to find a way to carry this over into full Tracery2 migration (#13) Either by fiddling with the escaping (#10) or, perhaps better, by way of a Tracery "modifier"?

BooDoo commented 1 year ago

wait why does this magically work now, 4 years later.

Was this just a bad example case? Am I misremembering what the intended output is.