Changes between Initial Version and Version 1 of HllInteroperability

Show
Ignore:
Timestamp:
06/26/09 18:50:47 (13 years ago)
Author:
tene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HllInteroperability

    v1 v1  
     1= General Issues = 
     2* Until case mangling issues in Parrot are fixed, you must use an all-lowercase HLL name (someone plz add TT#) 
     3= Library Loading = 
     4To 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 
     6{{{symbols:                           # The only required attribute 
     7    DEFAULT: 
     8        # a map of names to symbols 
     9    ALL: 
     10        # a map of names to symbols 
     11    # other named sets of symbols can go here... 
     12    # the only required items are DEFAULT and ALL 
     13# You can include other additional information 
     14filename: "/path/to/filename.ext" 
     15version: "v1.0.1" 
     16author: "adent"}}}