tstrtabs.nims 152 B

123456
  1. import strtabs
  2. static:
  3. let t = {"name": "John", "city": "Monaco"}.newStringTable
  4. doAssert "${name} lives in ${city}" % t == "John lives in Monaco"