Vala
'''Vala''' is a programming language created with the goal of bringing modern language features to C, with no added runtime requirements and with little overhead, by targeting the GObject object system. It is being developed by Jürg Billeter and Raffaele Sandrini. The syntax borrows heavily from C#. Rather than being compiled directly to assembler or other intermediate representation, Vala is compiled to C source, which is then compiled with a platform's standard C compiler.
The '''valac''' compiler also supports a language dialect called Genie, that more closely resembles Python syntax. '''Genie''' syntax requires indentation based code structure blocking. The '''Genie''' dialect is also compiled to C on way to native executable by '''valac'''.
Tasks
- 100 doors
- A+B
- Array concatenation
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Averages/Arithmetic mean
- Averages/Pythagorean means
- Averages/Root mean square
- Caesar cipher
- Check that file exists
- Classes
- Fibonacci sequence
- FizzBuzz
- GUI component interaction
- GUI enabling/disabling of controls
- Guess the number
- Guess the number/With feedback
- Happy numbers
- Hash from two arrays
- Hello world!
- Hello world/Graphical
- Hello world/Text
- Hilbert curve
- Identity matrix
- Include a file
- Input loop
- Integer comparison
- Integer sequence
- Leap year
- Least common multiple
- Letter frequency
- Levenshtein distance
- Logical operations
- Loops/For
- Loops/Infinite
- Palindrome detection
- Program name
- Read a file line by line
- Regular expressions
- Repeat a string
- Sieve of Eratosthenes
- Singleton
- String case
- String length
- Strip whitespace from a string/Top and tail
- Substring
- Substring/Top and tail
- Sum and product of an array
- Sum of a series
- System time
- Tokenize a string
- Unicode strings
- Unicode variable names
- Variable size/Get