Changes between Version 1 and Version 2 of HllInteroperability
- Timestamp:
- 06/26/09 18:51:55 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HllInteroperability
v1 v2 4 4 To provide other languages access to libraries written in your language, you must add a 'load_library' method to your compiler object. This method must accept one positional parameter, a list (or ::-delimited string?) representing the name of the library to load, and an arbitrary quantity of other named parameters (:named :slurpy), which it is (currently) free to ignore. This method should return a hash containing the following attributes: 5 5 6 {{{symbols: # The only required attribute 6 {{{ 7 symbols: # The only required attribute 7 8 DEFAULT: 8 9 # a map of names to symbols … … 14 15 filename: "/path/to/filename.ext" 15 16 version: "v1.0.1" 16 author: "adent"}}} 17 author: "adent" 18 }}}