There have been a couple threads asking about a coding language for players on a server, not raw C# ofc.
I want to reignite the discussion about this, because i think it has potential.
I actually wrote a lexer/tokenizer in C# and am still expanding my little Expression’3’, but i think most stuff is still S&Box dependant (i don’t have access). I wonder what would be the most clean way of creating a E2 port (scary stuff) or a new language altogether.
My idea/feature list is:
- NO direct C# execution in any way (C#, from my knowledge, doesn’t have sandboxing) - server security is first priority
- Separate files for types/tokens/operators/modules
- Access levels (provide more proficient players with more fun stuff to make, and restrict new players from abusing it)
- As much flexibility as possible (modify/create/restrict functions/modules). Useful when making your own sandbox server - add server-specific functionality.
I might expand this later, if something comes to mind.
Also, as said, i am kind of new’ish to C# and would like any project organization tips for this. (thanks in advance <3)