Changes between Version 1 and Version 2 of HllInteroperability

Show
Ignore:
Timestamp:
06/26/09 18:51:55 (13 years ago)
Author:
moritz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HllInteroperability

    v1 v2  
    44To 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: 
    55 
    6 {{{symbols:                           # The only required attribute 
     6{{{ 
     7symbols:                           # The only required attribute 
    78    DEFAULT: 
    89        # a map of names to symbols 
     
    1415filename: "/path/to/filename.ext" 
    1516version: "v1.0.1" 
    16 author: "adent"}}} 
     17author: "adent" 
     18}}}