cs136 / seashell

Seashell is an online environment for editing, running, and submitting C programming assignments.
GNU General Public License v3.0
38 stars 19 forks source link

A couple compiler interface changes and some of the online compiler code #706

Closed kpalway closed 7 years ago

kpalway commented 7 years ago

The online compiler stuff I'm still hooking up.

Two reasons for the interface changes: I don't see any need for the react code to be dealing with PID objects at all, and I think the Compiler can decide when to call the startIO() method. The react code should basically be able to call a single method for most of the buttons a user presses.

kpsuperplane commented 7 years ago

Can we have running events actually. So like maybe just send a console message called "running"

kpalway commented 7 years ago

Yeah I was thinking of doing these sort of things as events like Larry mentioned in my last PR. I don't know if there's an event API available or what I have to do to set them up, though.

kpsuperplane commented 7 years ago

If you look at the reducers in src/reducers you'll see the sort of API were working with. {action: action_name, payload: dat}