Genie
Gnome Genie, programming language with close to python syntax. Genie is a dialect supported by the Vala compiler to ease application programming based on GOBject and GLib, usually for the GNOME desktop. Vala can be compared to C# syntax, Genie to Python.
Genie uses source code indent as part of control flow management, default is Tab. Use a top level directive of ''[indent=n]'' to set a preferred per level indentation spacing, if Tab is not your thing.
Both ''Vala'' and ''Genie'' dialects are supported by the ''valac'' compiler. ''valac'' translates the code to C on way to native binaries. Genie code, with the look and feel of a convenient scripting language, is compiled, and runs at speed.
The Genie language was designed by Jamie McCracken. First released in 2008, Genie is maintained as part of the Vala project.
See https://wiki.gnome.org/Projects/Genie and https://wiki.gnome.org/Projects/Vala for more information.
Tasks
- 100 doors
- A+B
- Arithmetic/Integer
- Array concatenation
- Array length
- Arrays
- Check that file exists
- Command-line arguments
- Comments
- Even or odd
- Execute a system command
- Get system command output
- Guess the number/With feedback
- Hello world!
- Hello world/Graphical
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Hello world/Web server
- Here document
- Leap year
- Logical operations
- Program name
- Read a file line by line
- Read entire file
- Regular expressions
- Reverse a string
- SHA-1
- SHA-256
- Stack
- String append
- Sum of a series
- System time
- Tokenize a string