Changes between Version 8 and Version 9 of HllInteroperability
- Timestamp:
- 06/30/09 20:46:39 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HllInteroperability
v8 v9 1 1 = General Issues = 2 * Until case mangling issues in Parrot are fixed, you must use an all-lowercase HLL name (TT #777) 3 * Due to current bugs in Parrot, the 'load_language' opcode *must* be called from the 'parrot' HLL (TT #150) 2 [[TicketQuery(component=hll_interop)]] 3 = Known Workarounds = 4 '''#150''':: 5 Call the 'load_language' opcode from the 'parrot' HLL 6 '''#777''':: 7 Use an all-lowercase HLL name 4 8 = Library Loading = 5 9 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: