ComputerCraft Forums

ComputerCraft => Media => Topic started by: KingofGamesYami on Aug 13, 2018, 01:17 am

Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 13, 2018, 01:17 am
Reposted from here (http://www.computercraft.info/forums2/index.php?/topic/26369-computercraft-event-system-flowchart/)

I decided to make a visual of the event system. It's not by any means perfect, but I'd like to say it's pretty nice.
(https://www.lucidchart.com/publicSegments/view/c2f04d2f-b98a-4f71-a73d-50b9b40ba7c8/image.png)
Made with lucidchart (https://www.lucidchart.com).
Title: ComputerCraft Event System Flowchart
Post by: Lignum on Aug 13, 2018, 10:04 am
Oof, this is a great image for scaring beginners out of using the coroutine API. Either way, very nice chart, you did an awesome job!
Title: ComputerCraft Event System Flowchart
Post by: Yemmel on Aug 13, 2018, 03:55 pm
It's fascinating to see how it all comes together, you wouldn't imagine it was this complex. Very cool stuff!
Title: ComputerCraft Event System Flowchart
Post by: Incin on Aug 13, 2018, 04:08 pm
Great stuff. Only thing I would say is that in the bottom right under the condition that the program calls coroutine.yield directly, if I'm not mistaken it will still check the status of the coroutine and perform the appropriate action instead of bypassing that and going directly to the "set filter" section.
Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 13, 2018, 04:54 pm
Quote from: Incin on Aug 13, 2018, 04:08 pmGreat stuff. Only thing I would say is that in the bottom right under the condition that the program calls coroutine.yield directly, if I'm not mistaken it will still check the status of the coroutine and perform the appropriate action instead of bypassing that and going directly to the "set filter" section.

Yeah, that's a mistake.  I'll see if I can figure out what account I made this on and if I can update it.
Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 14, 2018, 01:59 am
Fixed!