I downloaded the Phoenix SDK June 2008 (Tools for Compilers), and when I read the Hello example code, I really feel lost.
public
ref class Hello
{
static Phx::ModuleUnit ^ module;
static Phx::Targets::Runtimes::Runtime ^ runtime;
static Phx::Targets::Architectures::Architecture ^ architecture;
static Phx::Lifetime ^ lifetime;
static Phx::Types::Table ^ typeTable;
static Phx::Symbols::Table ^ symbolTable;
static Phx::Phases::PhaseConfiguration ^ phaseConfiguration;
2 Questions: What is the ref keyword? What is this sign? What is he doing
protected:
virtual void
Execute
(
Phx::Unit ^ unit
) override;
};
is override also a C ++ keyword? It is painted as such in my Visual Studio. I really want to play with this infrastructure, but this advanced C ++ really is an obstacle right now. Thanks.
toto source
share