Skip to content
Discussion options

You must be logged in to vote

Awesome!

The current code generation has two stages.

  • we first generate Generic Intermediate Language (GIL) code according to our selected Algorithm
  • we then transpile the GIL to the target language

The algorithm is all about how the state machine code works. Does it use function pointers? Switch statements? A table? See more here: https://github.com/StateSmith/StateSmith/wiki/Algorithms

The GIL is just a restricted subset of C# so that we can use Roslyn tools to aid in transpiling.

I will help get you started. This will be our first community added language! 🎉


Step 0

Open a new issue with the language to support.


Step 1 - manual code translation

Let's start simple. We'll manually creat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Joebeazelman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants