Contextual state machine/generator implementation in C++ PoC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Avril 7e9f2083be
remove _BOX_CPP directive support as it causes undefined behaviour on stack popping
4 years ago
include remove _BOX_CPP directive support as it causes undefined behaviour on stack popping 4 years ago
src Generator method nesting worksgit add . 4 years ago
.gitignore update .gitignore 4 years ago
Makefile core state machine macros 4 years ago
README readme that no one will ever read 4 years ago

README

Example of a contextual state machine implementation in C(++)

Goal:
	A PoC full C implementation of 'generator' functions in C using the rather janky `_Generic`.
	Currently the implementation is in an extremely small subset of C++ using only a few templates to get around C's janky implementation of generics.