Tiltedc

From Esolang
Jump to navigation Jump to search

Tiltedc is C but tilted.

It should be 100% C code, but the text shall be interpreted vertically, from top to bottom and left to right. It is technically a Weirdlang.

Advantages

  • Programming feels like a side-scroller game.
  • May use screen space more efficiently.

Disadvantages

  • Most modern text editors are not specialized in editing vertically.
  • (Maybe) slower compilation (more steps inbetween).
  • The programmer has to be accustomed in reading text vertically in order to be efficient.

Examples

Hello World

i{  }
n pr
t re
  it
m nu
a tr
i fn
n ( 
( "0
v H;
o e
i l
d l
) o
  ,
   
  W
  o
  r
  l
  d
  !
  \
  n
  "
  )
  ;

See also

External resources