Here's a link to TableSmith's syntax example:
TableSmith 5.1
It appears that TS considers each thing to be a table file. So even your top-level "roll me some stuff" is basically a table. Hence it's standard .Start table definition in the file.
I think the example syntax I've expanded upon from Morrus would be a bit cleaner.
namely, always use the same begin/end symbol for the macros [] or {} but don't mix. I recommend using something nobody would normally use in their own natural writing, like {} as only programmers use those.
allow for dice notation within the macro {1d6 Monster} which would generate 1-6 monster names
allow for capturing the result as a variable like {$result=Monster} so we can use it again. Note {Monster} and {Monster} would roll up 2 indpendent results, and probably not show the same monster name like a normal person might think.
TableSmith 5.1
It appears that TS considers each thing to be a table file. So even your top-level "roll me some stuff" is basically a table. Hence it's standard .Start table definition in the file.
I think the example syntax I've expanded upon from Morrus would be a bit cleaner.
namely, always use the same begin/end symbol for the macros [] or {} but don't mix. I recommend using something nobody would normally use in their own natural writing, like {} as only programmers use those.
allow for dice notation within the macro {1d6 Monster} which would generate 1-6 monster names
allow for capturing the result as a variable like {$result=Monster} so we can use it again. Note {Monster} and {Monster} would roll up 2 indpendent results, and probably not show the same monster name like a normal person might think.