| 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 = |
| 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 | |
| 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 |
| 14 | filename: "/path/to/filename.ext" |
| 15 | version: "v1.0.1" |
| 16 | author: "adent"}}} |