- Fix ordering in the
exports
field inpackage.json
- Some internal performance improvements and refactoring
- The package is now ESM/CJS dual (it's type only, though)
- Some internal refactoring
- Union inputs are now handled distributively
- e.g.
Brainfuck<P1 | P2, I1 | I2> = Brainfuck<P1, I1> | Brainfuck<P1, I2> | Brainfuck<P2, I1> | Brainfuck<P2, I2>
- e.g.
- Include source files in the distribution
- Some internal updates (use type-only imports etc.)
- No changes, except few minor and internal updates
- Apply Prettier
- Upgrade devDependencies
Brainfuck<Program, Input>
now takes string literal types- You can simply write
Brainfuck<",+.", "A">
instead ofBrainfuck<[",", "+", "."], [65]>
- You can simply write
- Reading input by
,
will not fail- When reading beyond EOF, it reads a null character
"\x00"
(previously stopped running)
- When reading beyond EOF, it reads a null character
- Ensure returning
never
type when some error ocurred
- Drop support for TypeScript < 4.1
- Change argument kinds of
Brainfuck<Program, Input>
(see Features) - Change behavior of
,
(see Features)
- Drop support for TypeScript < 4.0
- First release