Add Chef language implementation

This commit is contained in:
Nilay Majorwar
2022-01-17 20:57:38 +05:30
parent eb9d5d861c
commit 65aa9c9ecd
25 changed files with 2696 additions and 0 deletions

26
pages/ide/chef.tsx Normal file
View File

@ -0,0 +1,26 @@
import React from "react";
import { NextPage } from "next";
import Head from "next/head";
import { Mainframe } from "../../ui/Mainframe";
import { Header } from "../../ui/header";
import LangProvider from "../../engines/chef";
const LANG_ID = "chef";
const LANG_NAME = "Chef";
const IDE: NextPage = () => {
return (
<>
<Head>
<title>{LANG_NAME} | Esolang Park</title>
</Head>
<div style={{ height: "100%", display: "flex", flexDirection: "column" }}>
<Header langName={LANG_NAME} />
<div style={{ flexGrow: 1 }}>
<Mainframe langName={LANG_ID} provider={LangProvider} />
</div>
</div>
</>
);
};
export default IDE;