Genie (programming language)
|Paradigm||multi-paradigm: imperative, structured, object-oriented|
|Designed by||Jamie McCracken|
0.38.8 / February 15, 2018
|Typing discipline||static, strong|
|OS||Cross-platform (every platform supported by GLib)|
|Python, Boo, D, Object Pascal|
Genie is a modern, general-purpose high-level programming language in development since 2008. It was designed as an alternative, simpler and cleaner dialect for the Vala compiler, while preserving the same functionality of the Vala language. Genie uses the same compiler and libraries as Vala; the two can indeed be used alongside each other. The differences are only syntactic.
Like Vala, Genie uses the GObject type system to create classes and interfaces declared in Genie source code, without imposing additional runtime requirements (i.e., unlike Python, Java or C#, it does not require a virtual machine).
Genie allows access to C libraries, especially those based in GObject (like GTK), without using a different application binary interface (ABI). During compilation, the code is first translated to C source and header files, which are then compiled to platform-specific machine code using any available C compiler like GCC, thus allowing cross-platform software development.
This section is written like a personal reflection, personal essay, or argumentative essay that states a Wikipedia editor's personal feelings or presents an original argument about a topic. (March 2019) (Learn how and when to remove this template message)
This section's tone or style may not reflect the encyclopedic tone used on Wikipedia. (March 2019) (Learn how and when to remove this template message)
This sample explicitly uses four spaces for indentation.
[indent=4] init print "Hello, world!"
With no explicit indentation declaration, the default is tabs. Note the handsomely "clean" looks without curly braces or excessive semicolons nor self / this pointer.
class Sample def run() stdout.printf("Hello, world! \n ") init var sample = new Sample() sample.run()
This article needs to be updated.June 2019)(
- Jamie McCracken (2008). "Introducing Genie - the smart programming language". Archived from the original on 2011-08-18.
- Using Genie and Vala together
- Tal Liron (11 January 2013). Genie. Event occurs at 32:29.
- Official website
- Barry Kauler's page on Genie at the Wayback Machine (archived 2010-02-17)
- Using the Genie programming language under Puppy Linux
- Puppy Linux: Vala and Genie Programming
- API Documentation
- search github projects written in genie
|This programming-language-related article is a stub. You can help Wikipedia by expanding it.|