Seed

GObject JavaScriptCore bridge
Download

Seed Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • The Gnome Project
  • Publisher web site:
  • http://www.gnome.org

Seed Tags


Seed Description

GObject JavaScriptCore bridge Seed is a GNOME library and interpreter, dynamically bridging (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the GObject type system. In a more concrete sense, Seed enables you to immediately write applications around a significant portion of the GNOME platform, and easily embed JavaScript as a scripting-language in your GObject library. Here are some key features of "Seed": · Dynamically load and bind libraries for which GObjectIntrospection data is available. · Full integration with types defined in libraries. Methods, constructors, properties, signals, interfaces, etc. transparently bind to JavaScript objects. Does a fairly good job of mapping C-isms (say, out arguments, or enums) to things that make sense in JavaScript. · Garbage collector integration with GObject reference counts for automatic memory management. · Automatic and powerful type conversion, capable of converting between everything from simple types, to lists, to boxing JavaScript functions up in C function pointers (required by some libraries for say, foreach functions). · Automatic GError integration with JavaScript exceptions. You leave the GError argument out of your arguments, and internally seed passes it in to the method, and throws an exception with the proper name and message if an error is generated. · Some "syntactic sugar" which makes code more pleasant to write, such as JSON key/value pairs for constructor properties, etc... · Ability to define new GTypes which inherit from existing GTypes. As of now you can not yet implement virtual methods to provide an implementation of Abstract Classes, but beyond that it works.


Seed Related Software