7 Commits

Author SHA1 Message Date
Nilay Majorwar
4fc94fd9ab Fix range formatter in output viewer 2022-02-18 17:37:06 +05:30
Nilay Majorwar
e3be5a8a83 Rename directory "engines" to "languages" 2022-01-30 20:47:33 +05:30
Nilay Majorwar
81a3563181 Improve output wrapping, fix typo in editor themes 2022-01-26 01:37:54 +05:30
Nilay Majorwar
22ee70948a Adapt bf and chef to error handling 2022-01-22 18:14:21 +05:30
Nilay Majorwar
0efd4c79ef Add error handling logic 2022-01-22 13:53:57 +05:30
Nilay Majorwar
febe31a3d8 Refactor state flow to boost performance
For intervals < ~24ms, the main thread as unable to cope up in handling
worker responses due to Mainframe rendering on each execution. To
resolve this, this commit delegates all execution-time states to child
components, controlled imperatively from Mainframe.

This yields huge performance boost, with main thread keeping up with
worker responses even at interval of 5ms.
2021-12-17 15:05:28 +05:30
Nilay Majorwar
01ba292b9f Implement basic execution system and UI
This is a rather large commit that includes all of the following:
- React UI with code editor, runtime renderer and input-output panes
- Language providers for a sample language and Brainfuck
- Implementation of code execution in a web worker
- All-at-once unabortable execution of program fully functional
2021-12-14 22:30:41 +05:30