When Cicada is run from the command line with argument, as in
user-prompt%./cicada myfile
it runs the user’s script myfile.cicada. On the other hand, when Cicada is run without a script file:
user-prompt% ./cicada
then Cicada runs its own script start.cicada which brings up the interactive command prompt. The first thing start.cicada does is to run a second script file user.cicada which predefines a number of variables and functions for the user. Here we list a few relevant contents of the prepackaged start.cicada file, along with the definitions in user.cicada.
Last update: May 8, 2024