Forrest logo
back to the guile tool

guile:tldr:68dd8

guile: Execute a Scheme expression.
$ guile -c "${expression}"
try on your machine

The command "guile -c "${expression}"" is used to run an expression in the Guile interpreter from the command line.

  • "guile" is the command to start the Guile interpreter, which is a programming language and a dialect of Scheme.
  • "-c" is an option that specifies that the following argument should be treated as a Guile expression to be evaluated.
  • "${expression}" is a placeholder for the actual Guile expression you want to run. You would replace it with your own expression enclosed in double quotes.

For example, if you wanted to run the Guile expression "(display \"Hello, World!\")(newline)", you would use the following command:

guile -c "(display \"Hello, World!\")(newline)"

This command would start the Guile interpreter, evaluate the given expression, and print "Hello, World!" followed by a new line.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the guile tool