C-minor
v0.0
Home
blog
Contact
Twitter
API
Overview
Topten.Cminor
BinaryOperatorType
Overview
CodeException
Overview
Constructors
Properties
Position
CompileException
Overview
Constructors
Compiler
Overview
Constructors
Fields
OnMessage
Properties
ErrorCount
NoDynamicCCode
TypeSystem
WarningCount
Methods
AddCode
AddFile
Bind
BuildModule
Parse
RenderAst
RenderAstToString
RenderCCode
RenderCCodeToString
WriteExe
CompilerSupport
Overview
Constructors
Methods
CalculateStringHash
CompileTimeOperators
Overview
Methods
op_Addition
op_BitwiseAnd
op_BitwiseOr
op_Division
op_Equality
op_ExclusiveOr
op_explicit_byte
op_explicit_char
op_explicit_float
op_explicit_int
op_explicit_long
op_explicit_sbyte
op_explicit_short
op_explicit_uint
op_explicit_ulong
op_explicit_ushort
op_GreaterThan
op_GreaterThanOrEqual
op_implicit_double
op_implicit_float
op_implicit_int
op_implicit_long
op_implicit_short
op_implicit_uint
op_implicit_ulong
op_implicit_ushort
op_Inequality
op_LeftShift
op_LessThan
op_LessThanOrEqual
op_LogicalAnd
op_LogicalNot
op_LogicalOr
op_Modulus
op_Multiply
op_OnesComplement
op_RightShift
op_Subtraction
op_UnaryNegation
op_UnaryPlus
ExecutionContext
Overview
Constructors
Properties
Handle
OutputHandler
RuntimeIncludePath
RuntimeLibraryPath
Methods
Dispose
Run
RunModule
IndentableTextWriter
Overview
Constructors
Methods
FlushBuffer
Indent
StartBuffering
StopBuffering
Unindent
Write
WriteLine
IndentFlags
Overview
MessageInfo
Overview
Constructors
Fields
Message
Position
Severity
MessageSeverity
Overview
Module
Overview
Properties
Handle
Name
Methods
Build
Dispose
OperatorEvaluation
Overview
Methods
Add
BitwiseAnd
BitwiseNot
BitwiseOr
BitwiseXor
Compare
CompareEQ
CompareGE
CompareGT
CompareLE
CompareLT
CompareNE
Divide
Evaluate
ExplicitCast
GetInvertedComparisonOp
GetResultType
GetSymbol
ImplicitCast
IsExplicitlyConvertible
IsImplicitlyConvertible
LogicalAnd
LogicalNot
LogicalOr
Modulus
Multiply
Negate
ShiftLeft
ShiftRight
Subtract
SubtractReverse
TryGetResultType
OperatorNames
Overview
Constants
Addition
Assign
AssignAddition
AssignBitwiseAnd
AssignBitwiseOr
AssignDivision
AssignExclusiveOr
AssignLeftShift
AssignModulus
AssignMultiply
AssignRightShift
AssignSubtraction
BitwiseAnd
BitwiseOr
Decrement
DecrementPostfix
DecrementPrefix
Division
Equality
ExclusiveOr
False
GreaterThan
GreaterThanOrEqual
Increment
IncrementPostfix
IncrementPrefix
Inequality
LeftShift
LessThan
LessThanOrEqual
LogicalAnd
LogicalNot
LogicalOr
Modulus
Multiply
OnesComplement
RightShift
Subtraction
True
UnaryNegation
UnaryPlus
Methods
BinaryFromName
NameFromBinary
NameFromUnary
NameToSymbol
RequiresLValue
UnaryFromName
RuntimeSupport
Overview
UnaryOperatorType
Overview
Topten.Cminor.Ast
AstAttribute
Overview
Constructors
Fields
Arguments
Properties
Name
Methods
AddArgument
AstBreakStatement
Overview
Constructors
AstCaseClause
Overview
Constructors
Fields
Predicates
Statements
AstClassOrStructDeclarationStatement
Overview
Constructors
Properties
Attributes
BoundType
IsClass
Modifiers
Name
Statements
AstCodeBlock
Overview
Constructors
Fields
AllLocals
DeclaredLocals
Implicit
Statements
WasBraced
AstCompilationUnit
Overview
Constructors
Fields
Statements
Properties
FileName
AstContinueStatement
Overview
Constructors
AstDoWhileStatement
Overview
Constructors
Fields
CodeBlock
Condition
AstElement
Overview
Constructors
Properties
Position
AstExpressionStatement
Overview
Constructors
Fields
Expression
AstExprNode
Overview
Constructors
Properties
Precedence
Methods
Visit<T>
AstExprNodeBinaryOp
Overview
Constructors
Fields
BoundMethod
LHS
Operator
RHS
AstExprNodeIdentifier
Overview
Constructors
Fields
LHS
Properties
Name
AstExprNodeIdentifier.Nested
Overview
Constructors
AstExprNodeIndexer
Overview
Constructors
Properties
Argument
LHS
AstExprNodeInterpolatedString
Overview
Constructors
Fields
BoundType
Parts
Methods
Add
AddLiteral
AstExprNodeInterpolatedString.Part
Overview
Constructors
Fields
alignment
expression
format
literal
AstExprNodeLiteral
Overview
Constructors
Fields
BoundType
Properties
Value
AstExprNodeMethodCall
Overview
Constructors
Fields
Arguments
BoundMethod
LHS
Methods
AddArgument
AstExprNodeTernaryOp
Overview
Constructors
Fields
Condition
FalseValue
TrueValue
AstExprNodeTypeCast
Overview
Constructors
Fields
RHS
Type
Properties
BoundMethod
AstExprNodeUnaryOp
Overview
Constructors
Fields
BoundMethod
Operand
Operator
AstFormatter
Overview
Constructors
Methods
Format
AstForStatement
Overview
Constructors
Fields
CodeBlock
Condition
Initializer
Iterator
AstFunctionDeclarationStatement
Overview
Constructors
Fields
Name
Parameters
ReturnType
Properties
Attributes
BoundMethod
CodeBlock
Modifiers
AstIfStatement
Overview
Constructors
Fields
Condition
FalseBlock
TrueBlock
AstParameterDeclaration
Overview
Constructors
Fields
DefaultValue
Name
Type
AstReturnStatement
Overview
Constructors
Fields
Value
AstStatement
Overview
Constructors
Methods
Visit<T>
AstSwitchCasePredicate
Overview
Constructors
Fields
Value
AstSwitchStatement
Overview
Constructors
Fields
CaseClauses
Expression
AstTypeName
Overview
Constructors
Fields
ArraySize
GenericArguments
Properties
BoundType
TypeName
AstVariableDeclaration
Overview
Constructors
Fields
InitialValue
Name
Owner
Type
AstVariableDeclarationStatement
Overview
Constructors
Fields
Entries
Type
Properties
Attributes
Modifiers
AstWhileStatement
Overview
Constructors
Fields
CodeBlock
Condition
IAstExprNodeVisitor<T>
Overview
Methods
Visit
IAstStatementVisitor<T>
Overview
Methods
Visit
OperatorPrecedence
Overview
VisitHelpers
Overview
Methods
VisitAll<T>
Topten.Cminor.CodeGen
CodeGenerator
Overview
Constructors
Properties
NoDynamicCCode
Target
Methods
Generate
Topten.Cminor.CodeGen.Native
Data
Overview
Properties
Label
Methods
Append
Close
Label
Overview
Methods
Mark
MarkExternal
Local
Overview
Constructors
NativeCodeGenerator
Overview
Constructors
Methods
Call
Convert
CreateData
CreateLabel
CreateLocal
FinishFunction
FreeLocal
Jump
JumpIfFalse
JumpIfTrue
LoadField
LoadLabel
LoadLiteral
LoadLocal
LoadParameter
Operator
StartFunction
StoreField
StoreLocal
StoreParameter
VCall
Operand
Overview
Fields
size
type
OperandType
Overview
OperatorType
Overview
Topten.Cminor.Lexical
CodeFile
Overview
Constructors
Properties
Current
EOF
EOL
FileName
Position
SourceText
Methods
CapturePosition
CharAt
CreatePosition
DoesMatch
DoesMatchI
Extract
FromFile
Next
Skip
SkipAndExtract
SkipI
SkipToEOL
SkipUntil
SkipWhitespace
CodePosition
Overview
Constructors
Fields
Length
Position
Source
Properties
End
LinePosition
LinePositionEnd
Start
CodePositionExtensions
Overview
Methods
Describe
LineNumbers
Overview
Constructors
Methods
FromLinePosition
ToLinePosition
LinePosition
Overview
Constructors
Properties
LineNumber
Offset
Token
Overview
Tokenizer
Overview
Constructors
Properties
ParsingType
Source
Token
TokenIdentifier
TokenLiteral
TokenPosition
TokenRaw
Methods
CheckToken
DescribeToken
IsIdentifier
Next
NextInterpolatedStringPart
Rewind
SkipIdentifier
SkipInterpolatedStringFormat
SkipToken
TrySkipIdentifier
TrySkipToken
Unexpected
Topten.Cminor.Semantic
BindingKind
Overview
CFState
Overview
Constructors
Methods
Add
CheckInitialized
Remove
Union
ConstantExpressionEvaluator
Overview
Constructors
Methods
Evaluate
ContextStack
Overview
Constructors
Properties
CurrentMember
CurrentType
Entries
Top
Methods
Push
ResolveName
ResolveType
ResolveTypeWithException
ResolveTypeWithReport
ControlFlowAnalysis
Overview
Constructors
Methods
Analyse
ExpressionBinder
Overview
Constructors
Methods
BindExpression
ImplicitCast
HydrateTypes
Overview
Constructors
Methods
Process
IBinding
Overview
Properties
Description
IsConst
IsLValue
IsValue
Kind
TypeInfo
NameResolver
Overview
Constructors
Methods
Resolve
OverloadResolver
Overview
Constructors
Methods
Resolve
ScaffoldTypes
Overview
Constructors
Methods
Process
StatementBinder
Overview
Constructors
Methods
Bind
TopLevelStatements
Overview
Constructors
Methods
Process
TransientValue
Overview
Constructors
Properties
Description
IsConst
IsLValue
IsValue
Kind
TypeInfo
Topten.Cminor.Syntax
Parser
Overview
Constructors
Properties
EnableBuiltInFeatures
Methods
ParseCompilationUnit
ParseExpressionEOF
Topten.Cminor.Test
TestCaseFile
Overview
Constructors
Properties
Filename
Modified
Methods
DeleteSection
Format
GetSection
Save
SaveIfModified
SetSection
TestRunner
Overview
Methods
Run
Topten.Cminor.Types
Attributes
Overview
Constructors
Properties
NativeName
Methods
Add
ILocalOrField
Overview
Properties
Description
Local
Overview
Constructors
Fields
Declaration
NativeName
Properties
Description
Name
Type
Member
Overview
Constructors
Fields
Attributes
Properties
Declaration
DeclaringType
Kind
Modifiers
Name
NativeName
MemberKind
Overview
Method
Overview
Constructors
Properties
HasSideEffects
LocalThis
Parameters
ReturnType
MethodGroup
Overview
Constructors
Fields
Methods
Properties
Description
InstanceMethods
IsInstanceGroup
IsLValue
IsStaticGroup
IsValue
StaticMethods
TypeInfo
Methods
Add
Modifiers
Overview
Parameter
Overview
Constructors
Fields
Declaration
Properties
Name
NativeName
Type
TypeInfo
Overview
Constructors
Properties
AstStatment
CLRType
FullName
IsFloatingPoint
IsIntegral
IsReferenceType
IsSigned
IsUserDefined
Members
NestedTypes
TypeKind
Methods
FindImplicitMember
GetMember
TypeKind
Overview
TypeSystem
Overview
Constructors
Properties
RootNamespace
Methods
BuildOperatorAndCastMaps
CanImplicitCast
FindCast
FindType
GetAllBinaryOperators
GetAllCastOperators
GetAllUnaryOperators
GetBinaryOperators
GetUnaryOperators
IsBuiltInType
MapTypeCode
Register
On this page
C-minor
The C-minor Compiler