From Esolang
Jump to navigation Jump to search

I think a problem is the "replace" and "nand" taking two arguments. You could fix it by requiring the word "with" between the arguments, which also means you don't need the parentheses anymore. --Zzo38 05:32, 14 August 2011 (UTC)

  • That would be a good idea. Consider the spec changed Taneb 07:28, 14 August 2011 (UTC)

I made an implementation of Constantinople in Haskell. It is also a .lhs file which can be printed with TeX. This program uses Parsec and Template Haskell. It includes a .cmd file for compiling the Constantinople program using Windows, but you can easily make a shell script for UNIX, too. Currently the input and output only works with actual character "0" and "1" and will stop if you input a newline character or others, but you can change that if you want to. This program is public domain. Please discuss in here in case of anything wrong. This is the first program I wrote using Haskell so I have possibly made a lot of things wrong because I don't know how to do it very well. --Zzo38 02:08, 21 August 2011 (UTC)