@susisu/typefuck
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@susisu/typefuck

CI

Type-level Brainfuck interpreter in TypeScript

# npm
npm i --save @susisu/typefuck
# yarn
yarn add @susisu/typefuck
# pnpm
pnpm add @susisu/typefuck

Example

Playground

import type { Brainfuck } from "@susisu/typefuck";

type Program = ">,[>,]<[.<]";
type Input = "Hello, world!";
type Output = Brainfuck<Program, Input>; // = "!dlrow ,olleH"

License

MIT License

Author

Susisu (GitHub, Twitter)

Readme

Keywords

none

Package Sidebar

Install

npm i @susisu/typefuck

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

57.5 kB

Total Files

16

Last publish

Collaborators

  • susisu