Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-242
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stratego/XT

Define native ssl functions as external definitions

Created: 2005-01-29 09:13   Updated: 2008-03-31 20:39
Component/s: strc - Stratego compiler, stratego-lib - Stratego Library
Affects Version/s: 0.13
Fix Version/s: 0.16 (Stratego Core Compiler)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The native ssl functions are defined in C header files, which are included from the C sources generated by the compiler. This hard link from the compiler to the SSL can be avoided by defining the C functions as external definitions in Stratego itself. The Stratego modules that use native C primitives can import these external definitions. If this is implemented, then the compiler no longer needs to insert an include of the SSL C header files.

 All   Comments   Work Log   Change History      Sort Order:
Martin Bravenboer [2005-01-30 00:42]
The buildfarm configuration has been changed to keep all the phases strictly separate. Tools from different phases should not be mixed, since this can break stuff for changes like the removal of ssl/stratego-lib.h include from the generated C code.

Martin Bravenboer [2005-01-30 12:00]
External definitions have an implicit current term, which is unattractive for the SSL primitives. Reconsider this issue.

Martin Bravenboer [2005-05-11 08:47]
Primitives are different from external definitions