Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I like C but not its syntax

Name: Anonymous 2014-12-02 12:11

Why hasn't anyone made C that doesn't look like dogshit?

Name: Anonymous 2014-12-04 20:06

>>59
Okay. Here is what the new syntax will look like.

(preprocessor-include-file "stdio.h")

(int main (function-of (int argc) ((pointer-to (pointer-to 'char) argv))))
(begin)
(for-loop)
(begin)
(if-statement (< argc 2))
(begin)
(function-call puts "y")
(end)
(else-statement)
(begin)
(for-loop (int i 1) (< i argc) (++ i))
(begin)
(if-statement (> i 1))
(begin)
(function-call putchar #\space)
(end)
(function-call printf "%s" (array-get argv i))
(end)
(function-call putchar #\n)
(end)
(end)
(end)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List