C-like language

From Esolang
Jump to navigation Jump to search

C-like language is a C-like esolang created by User:Ractangle

Syntax

Almost the same as C

In C you have the #include which includes a library from the language. So in C-like language instead it's #define(name|arguments):... which is basically almost the same thing as defining a class or something

printf have been also changed to *python's form[] command. Kinda

This is how you define a variable:

#define%v #= 5 |Interger declaration|
#define%v $= 5 |String declaration|

Name

The name of this esolang came from the creators mind during P.E. at his school
The image that came in his mind was taken from some page in "Program forms" category it is unknown what code it had and what program form page it came from

Examples

Hello, world!

#define(main|):format(string(Hello, world!\n))