Skip to content

dee0xeed/edsm-in-zig-demo-0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • compile with zig build-exe test.zig
  • run ./test and press ctrl-c after a while
  • you should see the following
$ ./test 
Hi! I am 'TEST-EDSM'. Press ^C to stop me.
{ 1, 0, 0, 0, 0, 0, 0, 0 }
tick #1
{ 1, 0, 0, 0, 0, 0, 0, 0 }
tick #2
{ 1, 0, 0, 0, 0, 0, 0, 0 }
tick #3
^Cgot SIGINT after 3 ticks
Bye! It was 'TEST-EDSM'

About

Simple example of event driven state machines in zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages