Add Shakespeare esolang

This commit is contained in:
Nilay Majorwar
2022-02-18 16:57:59 +05:30
parent a05731e91d
commit e810855933
26 changed files with 4106 additions and 2 deletions

View File

@ -0,0 +1,24 @@
import { CharacterValue } from "../common";
import { SimpleTag } from "./utils";
type Props = {
name: string;
value: CharacterValue;
};
export const CharacterRow = (props: Props) => {
const { name, value } = props;
return (
<div style={{ margin: "20px 10px" }}>
<div>
<b style={{ marginRight: 5 }}>{name}:</b>{" "}
<pre style={{ display: "inline" }}>{value.value}</pre>
{value.stack.map((v, i) => (
<SimpleTag key={i}>{v}</SimpleTag>
))}
</div>
<div></div>
</div>
);
};