Skip to content
/ cod Public

C implementation of the esoteric programming language Deadfish with some additions

License

Notifications You must be signed in to change notification settings

phase/cod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cod

C implementation of Deadfish

Requires GCC to build, or you can use any other C compiler.

Deadfish Commands:

  • i - Increment value by 1
  • d - Decrement value by 1
  • s - Square value
  • o - Output ASCII value

cod Commands:

  • b - Binary Two's Complement the value
  • q - Square root the value
  • r - Right shift value
  • l - Left shift value
  • & - Turn value into the value's pointer
  • n - Print number
  • e - Erase the value
  • 4 - Decrement the value to zero, while printing each ASCII value along the way
  • 5 - Do the same as 4, except reset the value to it's original number afterwards
  • 6 - Do the same as 4, 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.

About

C implementation of the esoteric programming language Deadfish with some additions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages