C implementation of Deadfish
Requires GCC to build, or you can use any other C compiler.
Deadfish Commands:
i
- Increment value by 1d
- Decrement value by 1s
- Square valueo
- Output ASCII value
cod Commands:
b
- Binary Two's Complement the valueq
- Square root the valuer
- Right shift valuel
- Left shift value&
- Turn value into the value's pointern
- Print numbere
- Erase the value4
- Decrement the value to zero, while printing each ASCII value along the way5
- Do the same as4
, except reset the value to it's original number afterwards6
- Do the same as4
, except go upwards to the square of the value
##Use
build
cod. You can run the new cod.exe
without any arguments to get a cli, or import a file use cod file.df
. An example is in hello.df
.