Goose  Diff

Differences From Artifact [514af93a08]:

  • File bs/builtins/helpers.h — part of check-in [6e0a90698d] at 2022-07-21 01:09:16 on branch trunk — Small cleanup (user: zlodo size: 4170)

To Artifact [6624c9d83b]:

  • File bs/builtins/helpers.h — part of check-in [24b6c5ae2e] at 2022-08-29 20:42:38 on branch trunk — Partial implementation of compile-time for loop (rest to be done in prelude but needs a handful additional apis) (user: zlodo size: 4299)

85
86
87
88
89
90
91


92
93
94
95
96
97
98

    extern bool DestroyCurrentLifetimeScopeValues( const Context& c );
    extern bool DestroyAllLiveValues( const Context& c );
    extern bool DestroyAllLiveValuesFromBreakScope( const Context& c, uint32_t breakScopeLevel );
    extern bool DestroyAllLiveValuesFromContinueScope( const Context& c, uint32_t continueScopeLevel );

    extern bool CanInvokeGhostFuncs( const Context& c );



    struct TypeTypePattern
    {
        static const Term& GetPattern()
        {
            static auto pat = TypeType();
            return pat;







>
>







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

    extern bool DestroyCurrentLifetimeScopeValues( const Context& c );
    extern bool DestroyAllLiveValues( const Context& c );
    extern bool DestroyAllLiveValuesFromBreakScope( const Context& c, uint32_t breakScopeLevel );
    extern bool DestroyAllLiveValuesFromContinueScope( const Context& c, uint32_t continueScopeLevel );

    extern bool CanInvokeGhostFuncs( const Context& c );

    extern void CTForEach( const Context& c, const Value& decl, const Value& container, const ptr< vector< TermLoc > >& body );

    struct TypeTypePattern
    {
        static const Term& GetPattern()
        {
            static auto pat = TypeType();
            return pat;