Closed
Description
I've been working on writing a definition file for Tabletop Simulator's Lua API.
The lua runtime used by Tabletop Simulator is a subset of Moonsharp (currently version 2.0.0.0).
While it would be great if we could get support for Moonsharp as a runtime option, I realize the amount of effort that would require.
For the most part, it's straightforward to write definition files for the functionality added by Moonsharp.
However, Moonsharp adds additional syntax: the use of ||
for lambda style functions (aka closures).
It looks like this:
|[,args]| expression
Which is shorthand for
function(args) return expression end
Unfortunately, ||
is already used for the "or" nonstandard symbol, so I'm not sure how to mark this.
Metadata
Metadata
Assignees
Labels
No labels