Hi, I'm writing custom ast builder, and was thinking instead of dumping the ast to file, use nim for runtime evaluation
For ex. lets say we have
echo(1 < 2) # true
what I want is:
echo evalDsl("1 < 2") # should output true
Is this possible?
Thanks, i think tcompilerapi.nim will do.
But if one wants to create html templating engine is this the right direction?
{if user.loggedIn}
<button>
Log out
</button>
{/if}