104 Commits

Author SHA1 Message Date
Nilay Majorwar
82ec95f2dc Fix bug and improve syntax colors in Befunge 2022-01-31 19:12:12 +05:30
Nilay Majorwar
9d02b3f7dd Improve docs for language utils 2022-01-31 18:54:30 +05:30
Nilay Majorwar
e0a5f431d8 Improve lang readmes, add readme to file gen 2022-01-31 16:40:57 +05:30
Nilay Majorwar
ee64b73d28 Add link to esolang implementation notes 2022-01-31 16:03:48 +05:30
Nilay Majorwar
e3be5a8a83 Rename directory "engines" to "languages" 2022-01-30 20:47:33 +05:30
Nilay Majorwar
0bf7c0de3a Add script to generate files for new language 2022-01-30 20:32:50 +05:30
Nilay Majorwar
3889b97df5 Refactor and remove image alt warning 2022-01-30 20:32:00 +05:30
Nilay Majorwar
0a0be3dce2 Add landing page 2022-01-27 01:51:36 +05:30
Nilay Majorwar
2c9beef1e6 Add proper logo to header 2022-01-27 01:01:06 +05:30
Nilay Majorwar
31b0d7b7b8 Add UI and logic for handling worker errors 2022-01-27 00:03:30 +05:30
Nilay Majorwar
35bebf045f Adapt Befunge to modify code, fix char rendering 2022-01-26 20:03:54 +05:30
Nilay Majorwar
7b7475a4fb Add support for self-modifying programs to core 2022-01-26 20:01:53 +05:30
Nilay Majorwar
45385a3266 Add Befunge-93 2022-01-26 01:56:36 +05:30
Nilay Majorwar
81a3563181 Improve output wrapping, fix typo in editor themes 2022-01-26 01:37:54 +05:30
Nilay Majorwar
c9346515b2 Fix incorrect details in deadfish 2022-01-22 22:49:19 +05:30
Nilay Majorwar
3f2e13af74 Remove hardcoded language ID 2022-01-22 22:48:55 +05:30
Nilay Majorwar
ee569ada7f Use system theme for initial dark mode setting 2022-01-22 22:48:33 +05:30
Nilay Majorwar
808e4d302a Improve contrast in Chef editor colors 2022-01-22 22:33:31 +05:30
Nilay Majorwar
251a6836f5 Make editors readonly during execution 2022-01-22 21:57:53 +05:30
Nilay Majorwar
ffc9c03452 Cleanup and fix bug in code editor 2022-01-22 21:29:28 +05:30
Nilay Majorwar
694d3133fc Add better syntax checking in brainfuck 2022-01-22 21:23:00 +05:30
Nilay Majorwar
94dce5bfa9 Add automatic syntax checker, fix editor bugs 2022-01-22 21:22:38 +05:30
Nilay Majorwar
dbccab5244 Fix error handling in tests 2022-01-22 18:49:34 +05:30
Nilay Majorwar
22939dabf5 Improve Chef error messages 2022-01-22 18:49:26 +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
d8481c097b Refactor so engines use 0-based document ranges 2022-01-20 15:29:21 +05:30
Nilay Majorwar
dbfacece2c Revert to while-loop based execution 2022-01-20 15:07:06 +05:30
Nilay Majorwar
65aa9c9ecd Add Chef language implementation 2022-01-20 02:45:11 +05:30
Nilay Majorwar
eb9d5d861c Add unit tests for brainfuck and deadfish 2022-01-18 15:17:20 +05:30
Nilay Majorwar
d50e737682 Set up unit testing for engines 2022-01-18 15:17:08 +05:30
Nilay Majorwar
a4c0ad61e4 Minor UI improvements in app header 2021-12-27 16:02:21 +05:30
Nilay Majorwar
6828537153 Fix hardcoded lang name in app header 2021-12-27 15:52:19 +05:30
Nilay Majorwar
3ace388d90 Replace sample language with deadfish 2021-12-18 18:16:22 +05:30
Nilay Majorwar
bb9e85f422 Refactor to make language selection dynamic 2021-12-18 17:15:22 +05:30
Nilay Majorwar
2322ebe55d Add worker bundling configuration 2021-12-18 17:08:26 +05:30
Nilay Majorwar
2ef2ab5ea6 Shift darkmode class to separate div 2021-12-17 23:33:54 +05:30
Nilay Majorwar
c521713b13 Build matching color schemes to editor 2021-12-17 22:42:17 +05:30
Nilay Majorwar
50e788dd3c Improve brainfuck renderer colors 2021-12-17 20:07:47 +05:30
Nilay Majorwar
0f3664eb63 Add support for dark mode 2021-12-17 20:07:12 +05:30
Nilay Majorwar
f060b1bac9 Minor cosmetic change 2021-12-17 16:10:43 +05:30
Nilay Majorwar
50e15aaf57 Minor changes to make code editor safer 2021-12-17 15:37:35 +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
d838366023 Fix minor type error 2021-12-17 00:51:43 +05:30
Nilay Majorwar
a69d8a42b5 Refactor execution loop to use Interval instead 2021-12-16 23:05:22 +05:30
Nilay Majorwar
c9346da331 Add interval setter UI 2021-12-16 21:37:53 +05:30
Nilay Majorwar
7d9fb457ff Add stepping and breakpoints to debugger 2021-12-15 22:09:24 +05:30
Nilay Majorwar
38247f03c8 Minor changes in execution loop code 2021-12-15 21:39:59 +05:30
Nilay Majorwar
13ff6da638 Add pause-resume-stop functionality and UI 2021-12-15 21:31:25 +05:30
Nilay Majorwar
29b243d6f2 Add breakpoints and ack-based comms to worker 2021-12-15 15:19:44 +05:30