cito automatically translates the Ć programming language to C, Java, C#, JavaScript, ActionScript and D.

How to install

cito is written in C#. You need the .NET Framework (3.5 or above) or Mono.

Download the binary distribution and extract cito.exe and cipad.exe to a directory in your PATH environment variable.

If you want to compile from source code, see compilation instructions.

"Hello, world!"

Call cito from command prompt passing source files (with the extension .ci) and one of the destination files (its filename extension determines the target language), for example:

cito.exe -o hello.c hello.ci
cito.exe -o HelloCi.java hello.ci

If you’re lazy: see here for some translated code.

Contact

If you’re interested, please subscribe the mailing list.

History

cito 0.2.0 (2011-08-03)
  • Created cipad - a simple Ć editor with on-the-fly translation.

  • Changed syntax of arrays of storage: MyClass[]()MyClass()[], string[](8)string(8)[].

  • Fixes for the byte type in ActionScript and C#.

  • Implemented string comparisons in C and Java.

  • Fixed translation of delegates to C in cito compiled on .NET < 4.

  • Fixed errors with the new and 64-bit D compilers.

  • Some optimizations for string handling in C.

cito 0.1.0 (2011-05-24)

Initial release.

Authors

Piotr Fusik

Created Ć and tools.

Adrian Matoga

Created the D back-end.