Hacker News new | ask | show | jobs
by personjerry 4214 days ago
Sorry, newbie here. Is there some sort of way to keep a reference to a generated term? For example if I generated the name "Mike" and wanted to use that same name several times.
1 comments

Absolutely! Try this out: <name::=a>, <name::=b>, <name::=a>, <name::=b>

This is called a match carrier. https://github.com/TheBerkin/Rant/wiki/Query-carriers