Artifact 47a4dd81b170d5d0735db6b5fc5b49235cc634c46a17e5daae3b9b9adc3d4838:
- File
bs/builtins/builtins.h
— part of check-in
[75d7c914c3]
at
2019-01-31 22:22:18
on branch trunk
—
- Invocation: use only the val part of arg tuples, it's easier to manipulate and unify and the contained value know their own types anyway.
- Implemented an unification rule to peel off single element tuples where applicable.
#ifndef EMPATHY_BUILTINS_H #define EMPATHY_BUILTINS_H #include "ir/ir.h" #include "sema/sema.h" namespace empathy::builtins { using namespace ir; using namespace sema; } #include "types/types.h" #include "operators/operators.h" namespace empathy::builtins { static inline void SetupBuiltins( Env& e ) { SetupBuiltinTypes( e ); SetupBuiltinOperators( e ); } } #endif