Xreate
The Xreate programming language
Classes | Functions
xreate::interpretation Namespace Reference

Interpretation support. More...

Classes

class  InterpretationFunction
 Encapsulates interpretation of a single function. More...
 
class  InterpretationPass
 Provides the interpretation analysis. Determines parts of a program eligible for Interpretation by xreate::interpretation::TargetInterpretation. More...
 
class  InterpretationScope
 Encapsulates interpretation of a single code scope. More...
 
class  InterpretationScopeDecorator
 Interpretation-aware Code Scope decorator. More...
 
class  IntrinsicQueryInstruction
 intrinsic query statement More...
 
struct  PIFSignature
 Signature of a partially interpreted function. More...
 
class  PIFunction
 Encapsulates partially interpreted function. More...
 
class  TargetInterpretation
 Encapsulates interpretation process based on analysis results from InterpretationPass. More...
 

Functions

ExpandedType dereferenceSlaveType (ExpandedType t, const TranscendLayer *transcend)
 Expands slave type. More...
 
Expression representTransExpression (const Gringo::Symbol &atom, ExpandedType schemaT, TranscendLayer *transcend)
 Converts a Transcend's fact to a Xreate's expression that can be interpreted further. Supports query keyword. More...
 

Detailed Description

Interpretation support.

Function Documentation

◆ dereferenceSlaveType()

ExpandedType dereferenceSlaveType ( ExpandedType  t,
const TranscendLayer transcend 
)

Expands slave type.

Parameters
tSlave type
transcendInstance of Transcend
Returns
The expanded slave type

◆ representTransExpression()

Expression representTransExpression ( const Gringo::Symbol &  atom,
ExpandedType  schemaT,
TranscendLayer transcend 
)

Converts a Transcend's fact to a Xreate's expression that can be interpreted further. Supports query keyword.

Parameters
atomTranscend's fact
schemaTType of the resulting expression
transcendTranscend's instance
Returns
converted Transcend' fact in form of Xreate's expression