From 16c08e380bf7705a20db4a5196581bc552ed712c Mon Sep 17 00:00:00 2001
From: Mark <mark@betalupi.com>
Date: Thu, 16 Jan 2025 15:47:35 -0800
Subject: [PATCH] Fix workers

---
 Dockerfile                                               | 3 +++
 languages/{brainfuck => bf}/README.md                    | 0
 languages/{brainfuck => bf}/common.ts                    | 0
 languages/{brainfuck => bf}/engine.ts                    | 0
 languages/{brainfuck => bf}/index.ts                     | 0
 languages/{brainfuck => bf}/renderer.tsx                 | 0
 languages/{brainfuck => bf}/runtime.ts                   | 0
 languages/{brainfuck => bf}/tests/cat.txt                | 0
 languages/{brainfuck => bf}/tests/cellsize.txt           | 0
 languages/{brainfuck => bf}/tests/helloworld-subzero.txt | 0
 languages/{brainfuck => bf}/tests/helloworld.txt         | 0
 languages/{brainfuck => bf}/tests/index.test.ts          | 0
 pages/ide/bf.tsx                                         | 2 +-
 13 files changed, 4 insertions(+), 1 deletion(-)
 rename languages/{brainfuck => bf}/README.md (100%)
 rename languages/{brainfuck => bf}/common.ts (100%)
 rename languages/{brainfuck => bf}/engine.ts (100%)
 rename languages/{brainfuck => bf}/index.ts (100%)
 rename languages/{brainfuck => bf}/renderer.tsx (100%)
 rename languages/{brainfuck => bf}/runtime.ts (100%)
 rename languages/{brainfuck => bf}/tests/cat.txt (100%)
 rename languages/{brainfuck => bf}/tests/cellsize.txt (100%)
 rename languages/{brainfuck => bf}/tests/helloworld-subzero.txt (100%)
 rename languages/{brainfuck => bf}/tests/helloworld.txt (100%)
 rename languages/{brainfuck => bf}/tests/index.test.ts (100%)

diff --git a/Dockerfile b/Dockerfile
index 08e3479..9b264bf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,6 @@
+# docker build . -t git.betalupi.com/mark/esolang:version
+# docker push git.betalupi.com/mark/esolang:version
+
 FROM node:21-alpine AS base
 
 #
diff --git a/languages/brainfuck/README.md b/languages/bf/README.md
similarity index 100%
rename from languages/brainfuck/README.md
rename to languages/bf/README.md
diff --git a/languages/brainfuck/common.ts b/languages/bf/common.ts
similarity index 100%
rename from languages/brainfuck/common.ts
rename to languages/bf/common.ts
diff --git a/languages/brainfuck/engine.ts b/languages/bf/engine.ts
similarity index 100%
rename from languages/brainfuck/engine.ts
rename to languages/bf/engine.ts
diff --git a/languages/brainfuck/index.ts b/languages/bf/index.ts
similarity index 100%
rename from languages/brainfuck/index.ts
rename to languages/bf/index.ts
diff --git a/languages/brainfuck/renderer.tsx b/languages/bf/renderer.tsx
similarity index 100%
rename from languages/brainfuck/renderer.tsx
rename to languages/bf/renderer.tsx
diff --git a/languages/brainfuck/runtime.ts b/languages/bf/runtime.ts
similarity index 100%
rename from languages/brainfuck/runtime.ts
rename to languages/bf/runtime.ts
diff --git a/languages/brainfuck/tests/cat.txt b/languages/bf/tests/cat.txt
similarity index 100%
rename from languages/brainfuck/tests/cat.txt
rename to languages/bf/tests/cat.txt
diff --git a/languages/brainfuck/tests/cellsize.txt b/languages/bf/tests/cellsize.txt
similarity index 100%
rename from languages/brainfuck/tests/cellsize.txt
rename to languages/bf/tests/cellsize.txt
diff --git a/languages/brainfuck/tests/helloworld-subzero.txt b/languages/bf/tests/helloworld-subzero.txt
similarity index 100%
rename from languages/brainfuck/tests/helloworld-subzero.txt
rename to languages/bf/tests/helloworld-subzero.txt
diff --git a/languages/brainfuck/tests/helloworld.txt b/languages/bf/tests/helloworld.txt
similarity index 100%
rename from languages/brainfuck/tests/helloworld.txt
rename to languages/bf/tests/helloworld.txt
diff --git a/languages/brainfuck/tests/index.test.ts b/languages/bf/tests/index.test.ts
similarity index 100%
rename from languages/brainfuck/tests/index.test.ts
rename to languages/bf/tests/index.test.ts
diff --git a/pages/ide/bf.tsx b/pages/ide/bf.tsx
index 18d05f4..beb1afc 100644
--- a/pages/ide/bf.tsx
+++ b/pages/ide/bf.tsx
@@ -2,7 +2,7 @@ import React from "react";
 import { NextPage } from "next";
 import Head from "next/head";
 import { Mainframe } from "../../ui/Mainframe";
-import LangProvider from "../../languages/brainfuck";
+import LangProvider from "../../languages/bf";
 const LANG_ID = "bf";
 const LANG_NAME = "Turing";