Skip to content

Commit

Permalink
Merge pull request #113 from traP-jp/feat/#53-brainfuck-compiler
Browse files Browse the repository at this point in the history
✨ brainfuck compiler
  • Loading branch information
comavius authored Oct 25, 2024
2 parents 76907c3 + b690c88 commit 7c50296
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exec-container/compilers/brainfuck/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{pkgs, ...}: let
myBrainfuck = pkgs.bfc;
myClang = pkgs.clang;
in
pkgs.writeShellScriptBin "bfc" "PATH=${myClang}/bin:$PATH exec ${myBrainfuck}/bin/bfc $@"
2 changes: 2 additions & 0 deletions exec-container/compilers/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{pkgs}: let
golang = import ./golang {inherit pkgs;};
brainfuck = import ./brainfuck {inherit pkgs;};
in {
all = [
golang
brainfuck
];
}

0 comments on commit 7c50296

Please sign in to comment.