Fig programming language


fig is an easylang designed specifically for education; it can also be used to create simple utilities for the command line. fig has fewer than 100 commands, is implemented in [[Python-programming-language]], and runs in gnu[lit]/[lit]linux, bsd, mac os and windows. most lines in fig start with a "main variable": this_is_a_variable simply naming a variable is a valid program, although it doesn't do very much; it just sets this_is_a_variable to 0. to set it to something else, give it a different value by placing it at the right: this_is_a_variable "this is a string value. hello." fig is not case-sensitive (you don't have to use specific capitalisation in commands or variable [lit]/[lit] function names) and it does not generally care about indentation. in fact, fig mostly ignores syntax; it goes from left-to-right and most punctuation is optional. ifmore 10, 5 now = "yes, 10 is more than 5." ; print fig the "fig" command is like unindenting in python; it marks the outside of a block of commands.

<< Fig OS Manual