
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
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
import { Renderer } from "./renderer";
|
|
import { LanguageProvider } from "../types";
|
|
import { BFRS, sampleProgram, editorTokensProvider } from "./constants";
|
|
|
|
const provider: LanguageProvider<BFRS> = {
|
|
Renderer,
|
|
sampleProgram,
|
|
editorTokensProvider,
|
|
};
|
|
|
|
export default provider;
|