fuget.org
CLanguage
by praeclarum
0.6.30
20 Aug 18
Toggle Dropdown
Version 0
0.20.74
3 Feb 24
0.19.67
12 Oct 23
0.19.66
8 Jun 23
0.18.54
27 Jan 23
0.18.48
30 Dec 22
0.18.47
26 Aug 22
0.18.46
26 Aug 22
0.18.45
26 Aug 22
0.18.43
22 Aug 22
0.18.42
1 Jun 22
0.17.40
21 Jan 22
0.17.39
11 Jan 22
0.16.36
17 Nov 21
0.15.30
5 Aug 21
0.14.26
13 Mar 21
0.13.18
17 Jun 20
0.12.163
22 Apr 20
0.11.162
20 Apr 20
0.10.158
26 Feb 20
0.10.151
8 Jan 19
0.9.145
7 Jan 19
0.9.142
4 Jan 19
0.9.139
2 Jan 19
0.9.57
4 Dec 18
0.8.36
14 Nov 18
0.7.32
22 Aug 18
0.6.30
20 Aug 18
0.5.26
4 Aug 18
0.4.18
11 Jul 18
0.3.13
8 Jun 18
0.2.12
1 Jun 18
0.1.9
30 Jan 18
0.1.7
30 Jan 18
API Diff
with 0.5.26
Toggle Dropdown
Version 0
0.20.74
3 Feb 24
0.19.67
12 Oct 23
0.19.66
8 Jun 23
0.18.54
27 Jan 23
0.18.48
30 Dec 22
0.18.47
26 Aug 22
0.18.46
26 Aug 22
0.18.45
26 Aug 22
0.18.43
22 Aug 22
0.18.42
1 Jun 22
0.17.40
21 Jan 22
0.17.39
11 Jan 22
0.16.36
17 Nov 21
0.15.30
5 Aug 21
0.14.26
13 Mar 21
0.13.18
17 Jun 20
0.12.163
22 Apr 20
0.11.162
20 Apr 20
0.10.158
26 Feb 20
0.10.151
8 Jan 19
0.9.145
7 Jan 19
0.9.142
4 Jan 19
0.9.139
2 Jan 19
0.9.57
4 Dec 18
0.8.36
14 Nov 18
0.7.32
22 Aug 18
0.6.30
20 Aug 18
0.5.26
4 Aug 18
0.4.18
11 Jul 18
0.3.13
8 Jun 18
0.2.12
1 Jun 18
0.1.9
30 Jan 18
0.1.7
30 Jan 18
CLanguage.0.6.30.nupkg
nuget.org
github.com
MIT License
<
PackageReference
Include
=
"CLanguage"
Version
=
"0.6.30"
/>
Frameworks
netstandard2.0
API Diff between 0.6.30 and 0.5.26
140
Additions
20
Removals
CLanguage
public
static
class
CLanguageService
public
static
ColorSpan
[]
Colorize
(
string
code
,
MachineInfo
machineInfo
=
null
,
Printer
printer
=
null
)
public
static
SyntaxColor
ColorizeToken
(
int
token
,
object
value
,
HashSet
<
string
>
funcs
)
CLanguage.Interpreter
public
class
EmitContext
public
CType
MakeCType
(
DeclarationSpecifiers
specs
,
Declarator
decl
,
Initializer
init
,
Block
block
)
public
CType
MakeCType
(
DeclarationSpecifiers
specs
,
Block
block
)
public
virtual
CType
ResolveTypeName
(
TypeName
typeName
)
public
enum
OpCode
ConvertFloat32
=
15
ConvertFloat64
=
16
ConvertInt16
=
9
ConvertInt32
=
11
ConvertInt64
=
13
ConvertInt8
=
7
ConvertUInt16
=
10
ConvertUInt32
=
12
ConvertUInt64
=
14
ConvertUInt8
=
8
ConvertFloat32Float32
=
209
ConvertFloat32Float64
=
210
ConvertFloat32Int16
=
203
ConvertFloat32Int32
=
205
ConvertFloat32Int64
=
207
ConvertFloat32Int8
=
201
ConvertFloat32UInt16
=
204
ConvertFloat32UInt32
=
206
ConvertFloat32UInt64
=
208
ConvertFloat32UInt8
=
202
ConvertFloat64Float32
=
219
ConvertFloat64Float64
=
220
ConvertFloat64Int16
=
213
ConvertFloat64Int32
=
215
ConvertFloat64Int64
=
217
ConvertFloat64Int8
=
211
ConvertFloat64UInt16
=
214
ConvertFloat64UInt32
=
216
ConvertFloat64UInt64
=
218
ConvertFloat64UInt8
=
212
ConvertInt16Float32
=
149
ConvertInt16Float64
=
150
ConvertInt16Int16
=
143
ConvertInt16Int32
=
145
ConvertInt16Int64
=
147
ConvertInt16Int8
=
141
ConvertInt16UInt16
=
144
ConvertInt16UInt32
=
146
ConvertInt16UInt64
=
148
ConvertInt16UInt8
=
142
ConvertInt32Float32
=
169
ConvertInt32Float64
=
170
ConvertInt32Int16
=
163
ConvertInt32Int32
=
165
ConvertInt32Int64
=
167
ConvertInt32Int8
=
161
ConvertInt32UInt16
=
164
ConvertInt32UInt32
=
166
ConvertInt32UInt64
=
168
ConvertInt32UInt8
=
162
ConvertInt64Float32
=
189
ConvertInt64Float64
=
190
ConvertInt64Int16
=
183
ConvertInt64Int32
=
185
ConvertInt64Int64
=
187
ConvertInt64Int8
=
181
ConvertInt64UInt16
=
184
ConvertInt64UInt32
=
186
ConvertInt64UInt64
=
188
ConvertInt64UInt8
=
182
ConvertInt8Float32
=
129
ConvertInt8Float64
=
130
ConvertInt8Int16
=
123
ConvertInt8Int32
=
125
ConvertInt8Int64
=
127
ConvertInt8Int8
=
121
ConvertInt8UInt16
=
124
ConvertInt8UInt32
=
126
ConvertInt8UInt64
=
128
ConvertInt8UInt8
=
122
ConvertUInt16Float32
=
159
ConvertUInt16Float64
=
160
ConvertUInt16Int16
=
153
ConvertUInt16Int32
=
155
ConvertUInt16Int64
=
157
ConvertUInt16Int8
=
151
ConvertUInt16UInt16
=
154
ConvertUInt16UInt32
=
156
ConvertUInt16UInt64
=
158
ConvertUInt16UInt8
=
152
ConvertUInt32Float32
=
179
ConvertUInt32Float64
=
180
ConvertUInt32Int16
=
173
ConvertUInt32Int32
=
175
ConvertUInt32Int64
=
177
ConvertUInt32Int8
=
171
ConvertUInt32UInt16
=
174
ConvertUInt32UInt32
=
176
ConvertUInt32UInt64
=
178
ConvertUInt32UInt8
=
172
ConvertUInt64Float32
=
199
ConvertUInt64Float64
=
200
ConvertUInt64Int16
=
193
ConvertUInt64Int32
=
195
ConvertUInt64Int64
=
197
ConvertUInt64Int8
=
191
ConvertUInt64UInt16
=
194
ConvertUInt64UInt32
=
196
ConvertUInt64UInt64
=
198
ConvertUInt64UInt8
=
192
ConvertUInt8Float32
=
139
ConvertUInt8Float64
=
140
ConvertUInt8Int16
=
133
ConvertUInt8Int32
=
135
ConvertUInt8Int64
=
137
ConvertUInt8Int8
=
131
ConvertUInt8UInt16
=
134
ConvertUInt8UInt32
=
136
ConvertUInt8UInt64
=
138
ConvertUInt8UInt8
=
132
CLanguage.Parser
public
class
Lexer
:
yyInput
public
static
readonly
HashSet
<
int
>
KeywordTokens
public
static
readonly
HashSet
<
int
>
OperatorTokens
public
class
Preprocessor
public
string
CurrentFilePath
{
get
; }
CLanguage.Syntax
public
class
ArrayDeclarator
:
Declarator
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
class
CastExpression
:
Expression
public
Expression
InnerExpression
{
get
; }
public
TypeName
TypeName
{
get
; }
public
CastExpression
(
TypeName
typeName
,
Expression
innerExpression
)
public
struct
ColorSpan
public
SyntaxColor
Color
public
int
Index
public
int
Length
public
class
ConstantExpression
:
Expression
public
Value
EmitValue
{
get
; }
public
class
DeclarationSpecifiers
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
class
Pointer
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
Pointer
(
TypeQualifiers
qual
,
Pointer
p
)
public
Pointer
(
TypeQualifiers
qual
)
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
Pointer
(
TypeQualifiers
qual
,
Pointer
p
)
public
Pointer
(
TypeQualifiers
qual
)
public
class
SizeOfTypeExpression
public
TypeName
TypeName
{
get
; }
public
enum
SyntaxColor
Comment
=
0
Constant
=
2
Function
=
5
Identifier
=
1
Keyword
=
3
Operator
=
4
Type
=
6
public
class
TypeName
public
TypeName
()
public
Declarator
Declarator
{
get
; }
public
DeclarationSpecifiers
Specifiers
{
get
; }
public
TypeName
(
DeclarationSpecifiers
specifiers
,
Declarator
declarator
)
public
enum
TypeQualifiers
Const
=
1
None
=
0
Restrict
=
2
Volatile
=
4
CLanguage.Types
public
abstract
class
CType
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
TypeQualifiers
TypeQualifiers
{
get
;
set
; }
public
virtual
bool
CanCastTo
(
CType
otherType
)
public
virtual
int
ScoreCastTo
(
CType
otherType
)
public
enum
TypeQualifiers