Monicelli

From Esolang
Jump to navigation Jump to search

Monicelli is an esoterical programming language based on the concept of "supercazzole" from the movie Amici Miei, a masterpiece of Italian comedy, directed by the Italian filmmaker and screenwriter Mario Monicelli, after whom the language is named. The language was created by Stefano Sanfilippo in 2014.

A supercazzola - also spelled "supercazzora" - is an Italian word describing a comically deceptive discourse composed mostly of gibberish and made-up words. However, according to Sanfilippo, this definition «sadly does not capture the true essence of what a "supercazzola" [...] is»[1]. Sanfilippo created the language as a way to explain the concept of supercazzola to the international public.

Example

Several examples of Monicelli programs are available in the examples[2] folder in the Monicelli repository.

Ciao, mondo! (Hello, world!)

This is a simple version of the Hello, world program, you can find a more complex one, which is closer to a true supercazzola in the Monicelli repository.[3]

# ciao-mondo.mc
#
# Author: Cristian Consonni <cristian@balist.es>
# Released under MIT
#
# This program prints the string 'Ciao, mondo!\n' - which is  Italian for
# 'Hello, world!\n'.
#
# The program declares a `char` variable called `tarapiapiatapioco` and then
# puts in the values need for each letter and prints them right away.
# These are the char values:
#
# C  i   a  o   ,  ·  m   o   n   d   o   !  \n
# 67 105 97 111 44 32 109 111 110 100 111 33 10

Lei ha clacsonato
voglio la tarapiatapioco, Mascetti
tarapiatapioco come se fosse 67, tarapiatapioco a posterdati  # C
tarapiatapioco come se fosse 105, tarapiatapioco a posterdati # i
tarapiatapioco come se fosse 97, tarapiatapioco a posterdati  # a
tarapiatapioco come se fosse 111, tarapiatapioco a posterdati # o
tarapiatapioco come se fosse 44, tarapiatapioco a posterdati  # ,
tarapiatapioco come se fosse 32, tarapiatapioco a posterdati  #
tarapiatapioco come se fosse 109, tarapiatapioco a posterdati # m
tarapiatapioco come se fosse 111, tarapiatapioco a posterdati # o
tarapiatapioco come se fosse 110, tarapiatapioco a posterdati # n
tarapiatapioco come se fosse 100, tarapiatapioco a posterdati # d
tarapiatapioco come se fosse 111, tarapiatapioco a posterdati # o
tarapiatapioco come se fosse 33, tarapiatapioco a posterdati  # !
tarapiatapioco come se fosse 10, tarapiatapioco a posterdati  # \n
vaffanzum!

which can be compiled with:

$ mcc -o ciao-mondo ciao-mondo.mc

this will produce an executable called, ciao-mondo, which when executed will print "Ciao, mondo!":

$ ./ciao-mondo
Ciao, mondo!

Bibliography

References