Essentials of Javascript - Cultural View
Essentials of Javascript - Cultural View
Essentials of Javascript - Cultural View
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Seed (programming) 126<br />
Seed (programming)<br />
Developer(s) Robert Carr, Matt Arsenault and Tim Horton<br />
Initial release November 8, 2008<br />
Discontinued 2.30 "Piano Man" / March 29, 2010<br />
Preview release 2.31.1 "The Black Album" / March 29, 2010<br />
Development status Active<br />
Written in C<br />
Platform Cross-platform<br />
Available in English<br />
Type Interpreter, library<br />
License GNU LGPL<br />
Website live.gnome.org/seed [1]<br />
Seed is a JavaScript interpreter and a library <strong>of</strong> the GNOME project to create standalone applications in JavaScript.<br />
It uses the JavaScript engine JavaScriptCore <strong>of</strong> the WebKit project. It is possible to easily create modules in C.<br />
Seed is integrated in GNOME since the 2.28 version [2] .<br />
Seed is used by two games <strong>of</strong> the GNOME Games package and by Epiphany for the design <strong>of</strong> its extensions.<br />
Hello world in Seed<br />
#!/usr/bin/env seed<br />
print("Hello, world!");<br />
A program using GTK+<br />
This code shows an empty window named "Example".<br />
#!/usr/bin/env seed<br />
Gtk = imports.gi.Gtk;<br />
Gtk.init(null, null);<br />
var window = new Gtk.Window({title: "Example"});<br />
window.signal.hide.connect(Gtk.main_quit);<br />
window.show_all();<br />
Gtk.main();